Skip to content

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

Open
@kminemur

Description

@kminemur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions