cudaGraphicsRegisterFlagsNone |
Default |
cudaGraphicsRegisterFlagsReadOnly |
CUDA will not write to this resource |
cudaGraphicsRegisterFlagsWriteDiscard |
CUDA will only write to and will not read from this resource |
cudaGraphicsRegisterFlagsSurfaceLoadStore |
CUDA will bind this resource to a surface reference |