I wonder if I can address memory subregions by adding offsets on the host to CUdevptr values ? I.e. can I do like this:
CUdeviceptr mem = cuMalloc(16);
cuMemcpyHtoD(mem + 0, &x, 8);
cuMemcpyHtoD(mem + 8, &x, 8);
Can I also pass pointers offseted like that into kernels ?