LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy 1D Array to CUDA Memory - pointer to memory

Q1: Is it possible to get pointer to device memory from cuda.lvlib:Copy 1D Array to CUDA Memory (SGL).vi? I would like to pass this pointer to my DLL.

 

Q2: DLL should return pointer to device memory where results are stored. Is it possible to use cuda.lvlib:Copy CUDA Memory to 1D Array (SGL).vi to copy resaults back to host?

 

Thanks.

0 Kudos
Message 1 of 2
(2,739 Views)

Hi brano.s,

 

Please could you provide more information about your post below?

 

Firstly, where did you obtain cuda.lvlib from? And what are the functions in this library expected to do?

 

Secondly would you be able to attach a copy of the library to this post.

 

Unfortunately this additional information is required before I can answer whether your questions are possible or not.

 

Kind regards,

Tori
Student
0 Kudos
Message 2 of 2
(2,712 Views)