Skip to content

Conversation

@callumfare
Copy link
Contributor

Buffers mapped with UR_MAP_FLAG_WRITE_INVALIDATE_REGION need to copy back to the buffer's device memory when unmapped. The HIP adapter was already doing this, seems like an accidental omission in the CUDA adapter.

@callumfare callumfare requested review from a team as code owners June 17, 2025 16:52
@callumfare callumfare requested a review from ldrumm June 17, 2025 16:52
@callumfare
Copy link
Contributor Author

The failures are unrelated to this PR and already known: #19034, #19033

@intel/llvm-gatekeepers Please merge

@kbenzie
Copy link
Contributor

kbenzie commented Jun 18, 2025

While the UR CUDA fail is known, I still think that testing should run on this PR since it's changing that.

@callumfare callumfare force-pushed the callum/fix_cuda_unmap_write_invalidate branch from d790247 to 5d10c0d Compare June 18, 2025 12:57
@kbenzie kbenzie merged commit fdaac35 into intel:sycl Jun 18, 2025
33 checks passed
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.

4 participants