summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-19 18:48:15 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-19 18:48:15 (GMT)
commit43bb255aaa9c65603a252e31d68a180f93b83e37 (patch)
tree5a41211a7a9bd735daf91ee55acb6f67851e1d64 /Tests
parent309b2eba1b4fe7d6937ccf9078040ddb9602a71c (diff)
parent0c1d2900908f966a6066b2ef2040841220b2909f (diff)
downloadCMake-43bb255aaa9c65603a252e31d68a180f93b83e37.zip
CMake-43bb255aaa9c65603a252e31d68a180f93b83e37.tar.gz
CMake-43bb255aaa9c65603a252e31d68a180f93b83e37.tar.bz2
Merge topic 'test-cuda-bin2c-null' into release-3.30
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.cmake2
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