mirror of
https://github.com/karpathy/llm.c.git
synced 2026-07-27 20:25:09 -04:00
Add makefile changes for cuDNN
This commit is contained in:
parent
d42ee0d925
commit
7beff72f5f
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -14,9 +14,10 @@ CUDA_OUTPUT_FILE = -o $@
|
|||
# NVCC flags
|
||||
# -t=0 is short for --threads, 0 = number of CPUs on the machine
|
||||
NVCC_FLAGS = -O3 -t=0 --use_fast_math
|
||||
NVCC_LDFLAGS = -lcublas -lcublasLt
|
||||
NCLL_INCLUDES =
|
||||
NVCC_LDFLAGS = -lcublas -lcublasLt -lcudnn
|
||||
NVCC_INCLUDES = -I../cudnn-frontend/include # TODO: Don't hardcode path
|
||||
NVCC_LDLIBS =
|
||||
NCLL_INCUDES =
|
||||
|
||||
ifneq ($(OS), Windows_NT)
|
||||
NVCC := $(shell which nvcc 2>/dev/null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue