Videos

Module 4: DCP++ Vector add code demo (Compilation + Execution)


This is a demonstration of the previously explained code. We need to source either oneAPI from our system (usual path : /opt/intel/oneapi/setvars.sh) or source DPC++ compiler from our system (source /opt/intel/oneapi/compiler/latest/env/vars.sh). For compiling the code we need to use “dpcpp vector_add.cpp -o vect_add”. For running the executable, run “./vect_add”

You may also like

Read More