Can cuFileRead use the int* as address of buffer?

I was wondering can cuFileRead use the int* as the address of buffer? We are trying to find out what’s the type store in the GPU while using cuFileRead to read the data.

ssize_t cuFileRead(CUFileHandle_t fh, void *devPtr_base, size_t size, off_t file_offset, off_t devPtr_offset);

Yes, you can use int*. Every pointer can be cast to void*

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.