Skip to content

Conversation

nrspruit
Copy link
Contributor

…dules

  • Fixed urEnqueueDeviceGlobalVariableWrite to check the map for a device specific module for the device used by the queue if it exists, otherwise use the ZeModule in the Program handle.

…dules

- Fixed urEnqueueDeviceGlobalVariableWrite to check the map for a
  device specific module for the device used by the queue if it exists,
otherwise use the ZeModule in the Program handle.

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
@nrspruit nrspruit requested a review from a team as a code owner September 16, 2024 16:00
@github-actions github-actions bot added the level-zero L0 adapter specific issues label Sep 16, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Sep 16, 2024
…c module

-pre-commit PR for oneapi-src/unified-runtime#2096

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
@nrspruit nrspruit added the v0.10.x Include in the v0.10.x release label Sep 16, 2024
@nrspruit nrspruit added ready to merge Added to PR's which are ready to merge labels Sep 16, 2024
@pbalcer pbalcer merged commit bf62bc0 into oneapi-src:main Sep 17, 2024
73 of 74 checks passed
kbenzie pushed a commit that referenced this pull request Sep 17, 2024
…bleWrite

[L0] Fix urEnqueueDeviceGlobalVariableWrite to use device specific mo…
) {
std::scoped_lock<ur_shared_mutex> lock(Queue->Mutex);

ze_module_handle_t ZeModule{};
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to apply this fix to urEnqueueDeviceGlobalVariableRead() as well?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, we DO need to read op to be fixed as well. Tagging @nrspruit .

winstonzhang-intel added a commit to winstonzhang-intel/unified-runtime that referenced this pull request Sep 19, 2024
modules

Follow up to oneapi-src#2096 to
update urEnqueueDeviceGlobalVariableRead as well.

Signed-off-by: Winston Zhang <winston.zhang@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level-zero L0 adapter specific issues ready to merge Added to PR's which are ready to merge v0.10.x Include in the v0.10.x release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants