oneAPI-samples icon indicating copy to clipboard operation
oneAPI-samples copied to clipboard

Failed to building sample of oneCCL_Getting_Started for GPU and CPU

Open kminemur opened this issue 2 years ago • 1 comments

Summary

Failed to build oneCCL_Getting_Started for gpu with provided steps. while manual bulid works with icpx -fsycl src/sycl/sycl_allreduce_test.cpp -I./src/include -lccl -lmpi.

Version

oneAPI2024

Environment

Ubuntu 22.04

Steps to reproduce

source ${ONEAPI_ROOT}/setvars.sh --ccl-configuration=cpu_gpu_dpcpp

cd oneapi-toolkit/oneCCL/oneCCL_Getting_Started mkdir build cd build cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DCOMPUTE_BACKEND=icpx make sycl_allreduce_test

Observed behavior

$ make sycl_allreduce_test make: *** No rule to make target 'sycl_allreduce_test'. Stop.

Expected behavior

Build PASS

kminemur avatar Mar 15 '24 06:03 kminemur

oneAPI_CS_Team3 is working on this

bopeng1234 avatar Mar 03 '25 01:03 bopeng1234