File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
profiling/vtune-connector Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,7 @@ static bool tool_globfences = false;
4545
4646void kokkosp_request_tool_settings (const uint32_t ,
4747 Kokkos_Tools_ToolSettings* settings) {
48- if (tool_globfences) {
49- settings->requires_global_fencing = true ;
50- } else {
51- settings->requires_global_fencing = false ;
52- }
48+ settings->requires_global_fencing = tool_globfences;
5349}
5450
5551void kokkosp_init_library (const int loadSeq, const uint64_t interfaceVer,
@@ -198,9 +194,8 @@ void kokkosp_profile_event(const char* name) {
198194 __itt_event_start (event);
199195}
200196
201- void kokkosp_begin_fence (const char * name, const uint32_t deviceId,
197+ void kokkosp_begin_fence (const char * name, const uint32_t /* deviceId*/ ,
202198 uint64_t * handle) {
203- (void )deviceId; // Unused parameter - VTune doesn't require device ID
204199 __itt_domain* domain = __itt_domain_create (name);
205200 domain->flags = 1 ;
206201 __itt_frame_begin_v3 (domain, NULL );
You can’t perform that action at this time.
0 commit comments