Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to building sample of oneCCL_Getting_Started for GPU and CPU #2220

Open
kminemur opened this issue Mar 15, 2024 · 0 comments
Open

Failed to building sample of oneCCL_Getting_Started for GPU and CPU #2220

kminemur opened this issue Mar 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kminemur
Copy link

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 kminemur added the bug Something isn't working label Mar 15, 2024
@kminemur kminemur changed the title Failed to building sample of oneCCL_Getting_Started for GPU and CPU Failed to building sample of oneCCL_Getting_Started for GPU and CPU Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant