aboutsummaryrefslogtreecommitdiffstats
path: root/libsmctrl_test_mask_shared.cu
diff options
context:
space:
mode:
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);