Skip to content

Commit 193bbd7

Browse files
committed
framework: consistent number of derived terms
The header file 'papi.h' states that the PAPI_MAX_INFO_TERMS "should match PAPI_EVENTS_IN_DERIVED_EVENT defined in papi_internal.h", However, PAPI_MAX_INFO_TERMS is defined as 12; whereas, PAPI_EVENTS_IN_DERIVED_EVENT is defined as 8. This commit changes the 8 to 12. These changes have been tested on the Intel Sapphire Rapids architecture.
1 parent ee245f6 commit 193bbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/papi_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ extern char **_papi_errlist;
9797
#define NEED_CONTEXT 1
9898
#define DONT_NEED_CONTEXT 0
9999

100-
#define PAPI_EVENTS_IN_DERIVED_EVENT 8
100+
#define PAPI_EVENTS_IN_DERIVED_EVENT 12
101101
#define PAPI_MAX_COMP_QUALS 8
102102

103103

0 commit comments

Comments
 (0)