Skip to content

Commit

Permalink
Let --compile-imp-gpu target HIP.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Dec 6, 2023
1 parent 6f15eba commit 8ea9bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Futhark/Actions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ kernelImpCodeGenAction =
Action
{ actionName = "Compile imperative kernels",
actionDescription = "Translate program into imperative IL with kernels and write it on standard output.",
actionProcedure = liftIO . putStrLn . prettyString . snd <=< ImpGenGPU.compileProgOpenCL
actionProcedure = liftIO . putStrLn . prettyString . snd <=< ImpGenGPU.compileProgHIP
}

-- | Convert the program to CPU multicore ImpCode and print it to stdout.
Expand Down

0 comments on commit 8ea9bd3

Please sign in to comment.