Skip to content

Commit

Permalink
Document how to get register usage
Browse files Browse the repository at this point in the history
Uses 1 less register in generate_rays than Julia, for some reason simple.jl is using one extra register in generate_and_intersect_kernel compared as well.
  • Loading branch information
Zentrik committed Sep 21, 2023
1 parent 1020a32 commit 681a22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++/main.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// clang++-15 -std=c++20 c++/main.cpp -o c++/main -Wall -Wextra -Ofast -ffast-math -fdenormal-fp-math=positive-zero -march=native -flto=full -ltbb // -Wdouble-promotion -Wimplicit-int-float-conversion
// clang++-17 -std=c++20 main.cu -o main --cuda-gpu-arch=sm_61 -Wall -Wextra -Ofast -ffast-math -fcuda-flush-denormals-to-zero -flto=full -lcudart_static -ldl -lrt -pthread // -Wdouble-promotion -Wimplicit-int-float-conversion
// clang++-17 -std=c++20 main.cu -o main --cuda-gpu-arch=sm_61 -Wall -Wextra -Ofast -ffast-math -fcuda-flush-denormals-to-zero -flto=full -lcudart_static -ldl -lrt -pthread -Xcuda-ptxas -v // -Wdouble-promotion -Wimplicit-int-float-conversion

// cuda-gdb build
// clang++-17 -std=c++20 main.cu -o main --cuda-gpu-arch=sm_61 -Wall -Wextra -lcudart_static -g
Expand Down

0 comments on commit 681a22e

Please sign in to comment.