Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions kernels/attn/demo/mla_decode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ NVCCFLAGS+= -I${THUNDERKITTENS_ROOT}/include -I${THUNDERKITTENS_ROOT}/prototype

# Conditional setup based on the target GPU
ifeq ($(GPU),4090)
NVCCFLAGS+= -DKITTENS_4090 -arch=sm_89
NVCCFLAGS+= -DKITTENS_4090 -gencode arch=compute_89,code=sm_89
else ifeq ($(GPU),A100)
NVCCFLAGS+= -DKITTENS_A100 -arch=sm_80
NVCCFLAGS+= -DKITTENS_A100 -gencode arch=compute_80,code=sm_80
else
NVCCFLAGS+= -DKITTENS_HOPPER -arch=sm_90a
NVCCFLAGS+= -DKITTENS_HOPPER -gencode arch=compute_90a,code=sm_90a
endif

# Default target
Expand All @@ -25,4 +25,4 @@ $(TARGET): $(SRC)

# Clean target
clean:
rm -f $(TARGET)$(shell python3-config --extension-suffix)
rm -f $(TARGET)$(shell python3-config --extension-suffix)