- Ubuntu* 18
- GNU*: C, C++ 4.8.5 or higher.
Refer to System Requirements for more details.
Intel(R) oneAPI DPC++/C++ Compiler with L0 v1.0 support
cd oneccl
mkdir build
cd build
cmake ..
make -j install
If you need a "clear" build, create a new build directory and invoke cmake within it.
You can also do the following during installation:
- Specify installation directory
- Specify the compiler
- Specify
SYCLcross-platform abstraction level - Specify the build type
- Enable
makeverbose output
Modify cmake command as follows:
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/installation/directory
If no -DCMAKE_INSTALL_PREFIX is specified, oneCCL will be installed into _install subdirectory of the current
build directory, for example, ccl/build/_install.
Modify cmake command as follows:
cmake .. -DCMAKE_C_COMPILER=your_c_compiler -DCMAKE_CXX_COMPILER=your_cxx_compiler
If your CXX compiler requires SYCL, it is possible to specify it (DPC++ is supported for now).
Modify cmake command as follows:
cmake .. -DCMAKE_C_COMPILER=your_c_compiler -DCMAKE_CXX_COMPILER=icpx -DCOMPUTE_BACKEND=dpcpp
Modify cmake command as follows:
cmake .. -DCMAKE_BUILD_TYPE=[Debug|Release|RelWithDebInfo|MinSizeRel]
To see all parameters used by make during compilation
and linkage, modify make command as follows:
make -j VERBOSE=1