activation / build.toml
danieldk's picture
danieldk HF Staff
Enable ROCm in the build
02452f1
raw
history blame
479 Bytes
[general]
name = "activation"
[torch]
src = [
"torch-ext/torch_binding.cpp",
"torch-ext/torch_binding.h"
]
[kernel.activation]
language = "cuda-hipify"
cuda-capabilities = [ "7.0", "7.2", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]
rocm-archs = [ "gfx906", "gfx908", "gfx90a", "gfx940", "gfx941", "gfx942", "gfx1030", "gfx1100", "gfx1101" ]
src = [
"activation/activation_kernels.cu",
"activation/cuda_compat.h",
"activation/dispatch_utils.h",
]
depends = [ "torch" ]