cuda-samples/cpp/9_CUDA_Tile/CMakeLists.txt
Dheemanth b7c5481c55
Release v13.3 of the CUDA samples with CUDA 13.3 Toolkit (#435)
This is the release of the CUDA 13.3 samples, which include additions for CUDA Tile C++, and updated CCCL and Python samples.
2026-05-27 16:50:59 -05:00

18 lines
599 B
CMake

# GCC auto-enables _FORTIFY_SOURCE at -O1 and above, which routes printf through
# a __host__ __device__ wrapper that tile kernels can't call. Turn it off for
# the tile category.
add_compile_options(
$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=-U_FORTIFY_SOURCE>
$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=-D_FORTIFY_SOURCE=0>
)
add_subdirectory(helloTile)
add_subdirectory(tileVectorAdd)
add_subdirectory(tileTranspose)
add_subdirectory(tileMatmulAutotuner)
add_subdirectory(tileMatmul)
add_subdirectory(tileBmm)
add_subdirectory(tileLayerNorm)
add_subdirectory(tileRope)
add_subdirectory(tileSpMV)