Reputation: 131385
cuDeviceGetGraphMemAttribute()
takes a void pointer to a result variable. But - what type does it expect the pointed-to value to be? The documentation (for CUDA v12.0) doesn't say. I'm guessing it's an unsigned 64-bit type, but I want to make sure.
Upvotes: 0
Views: 45
Reputation: 131385
For all current attributes you can get with this function, the void *
must point to a cuuint64_t
.
Thanks goes to @AbatorAbeter for pointing out where this is stated.
Upvotes: 1