Spaces:
Running
Running
KP Kaiser
commited on
make : fix for CUDA native not working as an option on Ubuntu (#1012)
Browse files
Makefile
CHANGED
|
@@ -165,7 +165,7 @@ ifdef WHISPER_CUBLAS
|
|
| 165 |
LDFLAGS += -lcublas -lculibos -lcudart -lcublasLt -lpthread -ldl -lrt -L/usr/local/cuda/lib64 -L/opt/cuda/lib64 -L$(CUDA_PATH)/targets/x86_64-linux/lib
|
| 166 |
WHISPER_OBJ += ggml-cuda.o
|
| 167 |
NVCC = nvcc
|
| 168 |
-
NVCCFLAGS = --forward-unknown-to-host-compiler -arch=
|
| 169 |
|
| 170 |
ggml-cuda.o: ggml-cuda.cu ggml-cuda.h
|
| 171 |
$(NVCC) $(NVCCFLAGS) $(CXXFLAGS) -Wno-pedantic -c $< -o $@
|
|
|
|
| 165 |
LDFLAGS += -lcublas -lculibos -lcudart -lcublasLt -lpthread -ldl -lrt -L/usr/local/cuda/lib64 -L/opt/cuda/lib64 -L$(CUDA_PATH)/targets/x86_64-linux/lib
|
| 166 |
WHISPER_OBJ += ggml-cuda.o
|
| 167 |
NVCC = nvcc
|
| 168 |
+
NVCCFLAGS = --forward-unknown-to-host-compiler -arch=any
|
| 169 |
|
| 170 |
ggml-cuda.o: ggml-cuda.cu ggml-cuda.h
|
| 171 |
$(NVCC) $(NVCCFLAGS) $(CXXFLAGS) -Wno-pedantic -c $< -o $@
|