Re: [Beignet] How to allocate SVM

2018-05-09 Thread Sami Pietilä
o:beignet-boun...@lists.freedesktop.org] *On Behalf > Of *Sami Pietilä > *Sent:* Thursday, February 22, 2018 4:47 PM > *To:* beignet@lists.freedesktop.org > *Subject:* [Beignet] How to allocate SVM > > > > Hi, > > > > I have Skylake (and Broadwell) CPU and I am

[Beignet] How to allocate SVM

2018-02-22 Thread Sami Pietilä
Hi, I have Skylake (and Broadwell) CPU and I am running beignet 1.3 platform. I have checked that device capabilities has CL_DEVICE_SVM_FINE_GRAIN_BUFFER flag. Following code gives CL_INVALID_VALUE. Even removing CL_MEM_SVM_ATOMICS does not help. What could be wrong with the code? Additionally,