diff options
author | Brad King <brad.king@kitware.com> | 2024-10-19 18:49:37 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-10-19 18:49:47 (GMT) |
commit | ceda8bece92b949056c192910d22411a98994691 (patch) | |
tree | 5fd7a05a1e1b15215e58215e6809e0d0620569bc /Tests | |
parent | 5a459163dc9429bec9028db36d3cb8eca9504d9c (diff) | |
parent | 0c1d2900908f966a6066b2ef2040841220b2909f (diff) | |
download | CMake-ceda8bece92b949056c192910d22411a98994691.zip CMake-ceda8bece92b949056c192910d22411a98994691.tar.gz CMake-ceda8bece92b949056c192910d22411a98994691.tar.bz2 |
Merge topic 'test-cuda-bin2c-null' into release-3.31
0c1d290090 Tests: Ensure CUDA bin2c output is null terminated
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9917
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CudaOnly/utils/bin2c_wrapper.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CudaOnly/utils/bin2c_wrapper.cmake b/Tests/CudaOnly/utils/bin2c_wrapper.cmake index 0baf934..d598eda 100644 --- a/Tests/CudaOnly/utils/bin2c_wrapper.cmake +++ b/Tests/CudaOnly/utils/bin2c_wrapper.cmake @@ -6,7 +6,7 @@ foreach(obj ${OBJECTS}) get_filename_component(obj_dir ${obj} DIRECTORY) if(obj_ext MATCHES ".ptx") - set(args --name ${obj_name} ${obj}) + set(args -p 0x0 --name ${obj_name} ${obj}) execute_process(COMMAND "${BIN_TO_C_COMMAND}" ${args} WORKING_DIRECTORY ${obj_dir} RESULT_VARIABLE result |