Enable ROCm in the build
Browse files- build.toml +2 -0
build.toml
CHANGED
@@ -8,7 +8,9 @@ src = [
|
|
8 |
]
|
9 |
|
10 |
[kernel.activation]
|
|
|
11 |
cuda-capabilities = [ "7.0", "7.2", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]
|
|
|
12 |
src = [
|
13 |
"activation/activation_kernels.cu",
|
14 |
"activation/cuda_compat.h",
|
|
|
8 |
]
|
9 |
|
10 |
[kernel.activation]
|
11 |
+
language = "cuda-hipify"
|
12 |
cuda-capabilities = [ "7.0", "7.2", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]
|
13 |
+
rocm-archs = [ "gfx906", "gfx908", "gfx90a", "gfx940", "gfx941", "gfx942", "gfx1030", "gfx1100", "gfx1101" ]
|
14 |
src = [
|
15 |
"activation/activation_kernels.cu",
|
16 |
"activation/cuda_compat.h",
|