Skip to content

Commit

Permalink
Added CUDA_COMPUTE_CAPABILITY to README.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pthomadakis committed Sep 10, 2024
1 parent 4774f1e commit 54749a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,14 @@ $ git apply ${COMET_SRC}/triton.patch
$ cd $COMET_SRC
$ mkdir build
$ cd build
# Omit -DENABLE_GPU_TARGET=ON and -DTRITON_PATH=$PWD/../triton/
# Omit -DENABLE_GPU_TARGET, -DCUDA_COMPUTE_CAPABILITY and -DTRITON_PATH
# if only targetting CPUs
# In -DCUDA_COMPUTE_CAPABILITY=70 replace 70 with the desired value
$ cmake -G Ninja .. \
-DMLIR_DIR=$PWD/../llvm/build/lib/cmake/mlir \
-DLLVM_DIR=$PWD/../llvm/build/lib/cmake/llvm \
-DENABLE_GPU_TARGET=ON \
-DCUDA_COMPUTE_CAPABILITY=70 \
-DTRITON_PATH=$PWD/../triton/ \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit 54749a5

Please sign in to comment.