Skip to content

Conversation

sergey-semenov
Copy link
Contributor

With the introduction of DeviceKernelInfo, assert usage and implicit local argument information is now duplicated in program manager. This patch removes the duplicate maps and makes it so that device kernel info map is filled out during image registration, with the compile time information added when it's available (during the first submission of the kernel).

With the introduction of DeviceKernelInfo, assert usage and implicit local
argument information is now duplicated in program manager. This patch removes
the duplicate maps and makes it so that device kernel info map is filled out
during image registration, with the compile time information added when it's
available (during the first submission of the kernel).
Comment on lines +244 to +246
return MOwnsDeviceKernelInfo
? MDeviceKernelInfo
: ProgramManager::getInstance().getDeviceKernelInfo(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we just have a reference/pointer as the member (potentially pointing to the owning smart pointer member) instead of doing those lookups?

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.

2 participants