aboutsummaryrefslogtreecommitdiffstats
path: root/libsmctrl_test_mask_shared.cu
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2024-12-19 14:59:15 -0500
committerJoshua Bakita <jbakita@cs.unc.edu>2024-12-19 15:04:26 -0500
commit32f89528085f3cdb183e50461ffcd109d1f9a58d (patch)
tree2583fc3e6b588c5aae06ae43376f5c444d891a29 /libsmctrl_test_mask_shared.cu
parentd052c2df34ab41ba285f70965663e5a0832f6ac9 (diff)
Remove unused variables from Makefile
Make automatically provides CXX and CC, and these manual definitions were being ignored. Also fix a missing space in one of the messages from the tests.
Diffstat (limited to 'libsmctrl_test_mask_shared.cu')
-rw-r--r--libsmctrl_test_mask_shared.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmctrl_test_mask_shared.cu b/libsmctrl_test_mask_shared.cu
index f3e8933..e4ddde7 100644
--- a/libsmctrl_test_mask_shared.cu
+++ b/libsmctrl_test_mask_shared.cu
@@ -126,7 +126,7 @@ int test_constrained_size_and_location(enum partitioning_type part_type) {
126 if (smids_partitioned_h[NUM_BLOCKS - 1] > (enabled_tpc * sms_per_tpc) + sms_per_tpc - 1 || 126 if (smids_partitioned_h[NUM_BLOCKS - 1] > (enabled_tpc * sms_per_tpc) + sms_per_tpc - 1 ||
127 smids_partitioned_h[NUM_BLOCKS - 1] < (enabled_tpc * sms_per_tpc)) { 127 smids_partitioned_h[NUM_BLOCKS - 1] < (enabled_tpc * sms_per_tpc)) {
128 printf("%s: ***Test failure.***\n" 128 printf("%s: ***Test failure.***\n"
129 "%s: Reason: With TPC mask set to" 129 "%s: Reason: With TPC mask set to "
130 "constrain all kernels to TPC %d, a kernel was run and found " 130 "constrain all kernels to TPC %d, a kernel was run and found "
131 "to run on an SM IDs: as high as %d and as low as %d (range of %d to %d expected).\n", 131 "to run on an SM IDs: as high as %d and as low as %d (range of %d to %d expected).\n",
132 program_invocation_name, program_invocation_name, enabled_tpc, smids_partitioned_h[NUM_BLOCKS - 1], smids_partitioned_h[0], enabled_tpc * sms_per_tpc + sms_per_tpc - 1, enabled_tpc * sms_per_tpc); 132 program_invocation_name, program_invocation_name, enabled_tpc, smids_partitioned_h[NUM_BLOCKS - 1], smids_partitioned_h[0], enabled_tpc * sms_per_tpc + sms_per_tpc - 1, enabled_tpc * sms_per_tpc);