You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LLVM OMPD ompd_device_initialize() has a few problems for NVIDIA devices (based on a brief review I did of the sources):
It does not check the kind argument to make sure that it is OMPD_DEVICE_KIND_CUDA.
It does not check that the sizeof_id is 8.
It assumes that (*id) is 64-bit aligned, though that's probably OK if the size is 8.
It saves the id argument in ompd_address_space_handle_t::id, which is the pointer to the 64-bit context, not context value itself. But, I'm not sure that field is used anywhere.
The text was updated successfully, but these errors were encountered:
The LLVM OMPD ompd_device_initialize() has a few problems for NVIDIA devices (based on a brief review I did of the sources):
The text was updated successfully, but these errors were encountered: