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

February 22, 2021


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”

Categories: Videos

Comments are closed.