7.61. cudaMemsetParamsV2
-
struct cudaMemsetParamsV2
-
CUDA Memset node parameters.
Public Members
-
cudaExecutionContext_t ctx
-
Context in which to run the memset.
If NULL will try to use the current context.
-
void *dst
-
Destination device pointer.
-
unsigned int elementSize
-
Size of each element in bytes.
Must be 1, 2, or 4.
-
size_t height
-
Number of rows.
-
size_t pitch
-
Pitch of destination device pointer.
Unused if height is 1
-
unsigned int value
-
Value to be set.
-
size_t width
-
Width of the row in elements.
-
cudaExecutionContext_t ctx