Skip to content

Commit 516faf1

Browse files
Drop commits
1 parent 5e3c583 commit 516faf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/cuda/tests/cuda_tests_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ void enumerate_and_store_cuda_native_events(char ***cuda_native_event_names, int
138138
// The Legacy API only has the device qualifiers
139139
// while the Perfworks Metrics API has a stat and device
140140
// qualifier.
141-
modifier = PAPI_NTV_ENUM_DEFAULT_QUALIFIERS;
141+
modifier = PAPI_NTV_ENUM_UMASKS;
142142
papi_errno = PAPI_enum_cmp_event(&cuda_eventcode, modifier, cuda_cmp_idx);
143143
if (papi_errno != PAPI_OK) {
144144
test_fail(__FILE__, __LINE__, "PAPI_enum_cmp_event", papi_errno);

src/components/cuda/tests/test_2thr_1gpu_not_allowed.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ int main(int argc, char **argv)
251251
// The Legacy API only has the device qualifiers
252252
// while the Perfworks Metrics API has a stat and device
253253
// qualifier.
254-
modifier = PAPI_NTV_ENUM_DEFAULT_QUALIFIERS;
254+
modifier = PAPI_NTV_ENUM_UMASKS;
255255
check_papi_api_call( PAPI_enum_cmp_event(&cuda_eventcode, modifier, cuda_cmp_idx) );
256256

257257
do {

0 commit comments

Comments
 (0)