You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[31/742] Building SYCL device link file test_sycl/CMakeFiles/test_..._build_standalone.dir/test_sycl_build_standalone_sycl_device_obj.
FAILED: test_sycl/CMakeFiles/test_sycl_build_standalone.dir/test_sycl_build_standalone_sycl_device_obj.o /workspace/pytorch/build/test_sycl/CMakeFiles/test_sycl_build_standalone.dir/test_sycl_build_standalone_sycl_device_obj.o
cd /workspace/pytorch/build/test_sycl && /opt/intel/oneapi/compiler/2025.0/bin/icpx -fPIC -fsycl -fsycl-targets=spir64_gen,spir64 -fno-sycl-unnamed-lambda -sycl-std=2020 -fhonor-nans -fhonor-infinities -fno-associative-math -fno-approx-func -Wno-absolute-value -no-ftz -D__INTEL_PREVIEW_BREAKING_CHANGES -D_GLIBCXX_USE_CXX11_ABI=1 -fsycl-fp64-conv-emu -fsycl-max-parallel-link-jobs=16 -fsycl-targets=spir64_gen,spir64 -fsycl-link /workspace/pytorch/build/test_sycl/CMakeFiles/test_sycl_build_standalone.dir//./test_sycl_build_standalone_generated_simple_kernel.cpp.o -Xs "-device\ pvc,xe-lpg,ats-m150\ -options\ '\ -cl-poison-unsupported-fp64-kernels\ -cl-intel-enable-auto-large-GRF-mode\ -cl-fp32-correctly-rounded-divide-sqrt'" -o /workspace/pytorch/build/test_sycl/CMakeFiles/test_sycl_build_standalone.dir/./test_sycl_build_standalone_sycl_device_obj.o
icpx: warning: ocloc tool could not be found and is required for AOT compilation. See: https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compilation/ahead-of-time-compilation.html for more information [-Waot-tool-not-found]
llvm-foreach: No such file or directory
icpx: error: gen compiler command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
We even tried the official oneapi docker which contains all the prereq packagers and build doesn't work:
We bypassed the intel oneapi docker cannot find ocloc issue by doing manual linking to lib. This fix only applies if you the intel oneapi docker to compile. This issue/bug still applies as general guide to compile IPEX with AOT will not work as documented as install path/doc for OCLOC is missing (wrong web access permissions).
Describe the bug
@ZailiWang Intel documentation is broken, doesn't compile due to AOT compiler not found (OCLOC) for AOT compile has broken links:
https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-0/ahead-of-time-compilation.html <-- instruction does not work. Will fail due to missing OCLOC aot compiler
https://www.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/installation/install-opencl-offline-compiler-ocloc.html <--- this link for ocloc compiler doesn't exists and our build stage is not working. We do know how to install it.
We even tried the official oneapi docker which contains all the prereq packagers and build doesn't work:
The ocloc appears to be inside the intel docker but the builder doesn't find it:
Related: #764
Versions
The text was updated successfully, but these errors were encountered: