Skip to content

Commit

Permalink
futhark dev: support --backend=hip.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Nov 13, 2023
1 parent 1caf18e commit d003046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Futhark/CLI/Dev.hs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ commandLineOptions =
"c" -> Right $ SeqMemAction compileCAction
"multicore" -> Right $ MCMemAction compileMulticoreAction
"opencl" -> Right $ GPUMemAction compileOpenCLAction
"hip" -> Right $ GPUMemAction compileHIPAction
"cuda" -> Right $ GPUMemAction compileCUDAAction
"wasm" -> Right $ SeqMemAction compileCtoWASMAction
"wasm-multicore" -> Right $ MCMemAction compileMulticoreToWASMAction
Expand All @@ -461,7 +462,7 @@ commandLineOptions =

Right $ \opts -> opts {futharkAction = action}
)
"c|multicore|opencl|cuda|python|pyopencl"
"c|multicore|opencl|cuda|hip|python|pyopencl"
)
"Run this compiler backend on pipeline result.",
Option
Expand Down

0 comments on commit d003046

Please sign in to comment.