diff options
author | Brad King <brad.king@kitware.com> | 2024-10-19 18:47:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-10-19 18:47:34 (GMT) |
commit | d1d20ed397ad46d6959ca6eabe628efae8cc6e10 (patch) | |
tree | d25c2bad888f8db8082b0f7dce4a3e683e97b322 | |
parent | afc2d5b4627baf110f60366c24cb7d9c61fab371 (diff) | |
parent | 0c1d2900908f966a6066b2ef2040841220b2909f (diff) | |
download | CMake-d1d20ed397ad46d6959ca6eabe628efae8cc6e10.zip CMake-d1d20ed397ad46d6959ca6eabe628efae8cc6e10.tar.gz CMake-d1d20ed397ad46d6959ca6eabe628efae8cc6e10.tar.bz2 |
Merge topic 'test-cuda-bin2c-null' into release-3.29
0c1d290090 Tests: Ensure CUDA bin2c output is null terminated
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9917
-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 |