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

Support the memory barrier "stream memory operation" #452

Closed
eyalroz opened this issue Jan 15, 2023 · 0 comments
Closed

Support the memory barrier "stream memory operation" #452

eyalroz opened this issue Jan 15, 2023 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jan 15, 2023

Here is the current list of "batch memory operations" one can enqueue on a CUDA stream:

  • CU_STREAM_MEM_OP_WAIT_VALUE_32
  • CU_STREAM_MEM_OP_WRITE_VALUE_32
  • CU_STREAM_MEM_OP_WAIT_VALUE_64
  • CU_STREAM_MEM_OP_WRITE_VALUE_64
  • CU_STREAM_MEM_OP_BARRIER
  • CU_STREAM_MEM_OP_FLUSH_REMOTE_WRITES

these are described in this section of the CUDA driver API manual.

We already support all of these - except for the barrier operation. Let's add support for it.

@eyalroz eyalroz added the task label Jan 15, 2023
@eyalroz eyalroz self-assigned this Jan 15, 2023
@eyalroz eyalroz added this to the Full CUDA 11 support milestone Jan 15, 2023
eyalroz added a commit that referenced this issue Jan 15, 2023
* Now properly setting the batch memory operation parameters for flush-remote-writes
* Now supporting the memory barrier batch-memory-operation (as an single operation, not in an actual batch)
eyalroz added a commit that referenced this issue Jan 18, 2023
* Now properly setting the batch memory operation parameters for flush-remote-writes
* Now supporting the memory barrier batch-memory-operation (as an single operation, not in an actual batch)
eyalroz added a commit that referenced this issue Feb 10, 2023
* Now properly setting the batch memory operation parameters for flush-remote-writes
* Now supporting the memory barrier batch-memory-operation (as an single operation, not in an actual batch)
eyalroz added a commit that referenced this issue Mar 9, 2023
* Now properly setting the batch memory operation parameters for flush-remote-writes
* Now supporting the memory barrier batch-memory-operation (as an single operation, not in an actual batch)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant