sampie

OpenCL: How to allocate C++ vector in SVM memory?

Discussion created by sampie on Feb 21, 2018
Latest reply on Mar 8, 2018 by dipak

Hi,

 

How to allocate SVM memory and use it for a C++ vector? I guess vector.data() needs to be at SVM memory. Are atomic_svm_vector fine_svm_vector definitions in OpenCL C++ bindings something that helps to do this?

 

BR,

Sami

Outcomes