@BoonBengT_Altera
I am not asking particularly about that project, What i am asking is whether SVM is supported on intel FPGA.
For example, Consider this one (vector addition) which is from INTEL, just download the source code and try to execute it.
Add this below at the beginning of the main.cpp file to use SVM and compile using make
cd exm_opencl_vector_add_x64_linux/vector_add/
make
Similarly compile for device (using pac_a10 device on devcloud).
cd exm_opencl_vector_add_x64_linux/vector_add/device
tools_setup -t A10DS
aoc -report -v ./vector_add.cl
Now since its compiled (vector_add.aocx generated), sign it if necessary.
Run bin/host, and output says SVM is not supported.
Initializing OpenCL
Platform: Intel(R) FPGA SDK for OpenCL(TM)
Using 1 device(s)
pac_a10 : Intel PAC Platform (pac_ee00000)
Using AOCX: vector_add.aocx
The host was compiled with USE_SVM_API, however the device currently being targeted does not support SVM.
Segmentation fault (core dumped)
I just want to get confirmation if SVM support is there for intel FPGA's, because even in some official Intel OpenCL FPGA examples i have seen SVM usage,
But here when queried for svm capabilties or even using clinfo, we get to know device not supported.