From d003046dbfe483c3446f139ce3691dad08a3518f Mon Sep 17 00:00:00 2001 From: Troels Henriksen Date: Mon, 13 Nov 2023 15:45:32 +0100 Subject: [PATCH] futhark dev: support --backend=hip. --- src/Futhark/CLI/Dev.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Futhark/CLI/Dev.hs b/src/Futhark/CLI/Dev.hs index c4d9900100..fd0b6737ae 100644 --- a/src/Futhark/CLI/Dev.hs +++ b/src/Futhark/CLI/Dev.hs @@ -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 @@ -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