[Chapel Merge] Update cuBLAS to use a record to refer to device m

Branch: refs/heads/master
Revision: 4235041
Author: daviditen
Log Message:

Merge pull request #17355 from daviditen/cublas

Update cuBLAS to use a record to refer to device memory

[reviewed by @slnguyen]

Add a DevicePtr record that is returned from cpu_to_gpu that keeps track of
the pointed-to type along with the pointer.

Update functions to use the new record where device memory is expected.
Update tests to use the new type when calling those functions.

Signed-off-by: David Iten daviditen@users.noreply.github.com

Modified Files:
M test/gpu/interop/cuBLAS/cuBLAS.chpl

M test/gpu/interop/cuBLAS/level1/test_cublas1.chpl

Compare: https://github.com/chapel-lang/chapel/compare/5002d056c5a6...42350418c0f1