Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fence callbacks support in nvprof-focused connector #178

Closed
wants to merge 1 commit into from

Conversation

vlkale
Copy link
Contributor

@vlkale vlkale commented Apr 14, 2023

Fix #177.

I have added the fence callbacks in the Kokkos tool connector.

Note that the tool-induced fences need to be filtered out for the fence callbacks. Also, the environment variable of KOKKOSTOOLS_GLOBALFENCES needs to be accomodated for. This is a draft PR and I will do this soon.

Note that the tool-induced fences need to be filtered out for the fence callbacks. Also, the environment variable of KOKKOSTOOLS_GLOBALFENCES needs to be accomodated for. This will coming soon.
Copy link
Member

@crtrott crtrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is helpful for the focused connector

void kokkosp_begin_fence(const uint64_t kID) {
*kID = nextKernelID++;
currentKernel = getFocusedConnectorInfo(name, FENCE);
focusedConnectorExecuteStart();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not necessary. What this does is turning nvtx profiling on and off. But this is only a fence anyway, so likely no CUDA operation will happen

@vlkale
Copy link
Contributor Author

vlkale commented Apr 21, 2023

I am closing this draft issue based on discussion

@vlkale vlkale closed this Apr 21, 2023
@vlkale vlkale deleted the FixNVTXfocused-fencing branch October 27, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Appropriate Fence Tool callbacks in NVprof focused connector
2 participants