There is an issue where graphics acceleration support for 13th generation Intel CPUs is not available.
cd /
mkdir workspace
cd workspace
git clone https://github.com/oneapi-src/oneAPI-samples.git
I conducted a total of three tests.
mkdir build
cd build
cmake ..
make
export DNNL_VERBOSE=1
./bin/getting-started-cpp
onednn_verbose,info,oneDNN v3.5.0 (commit 302c601036103dd8391ac583030abd2e19a75f92)
onednn_verbose,info,cpu,runtime:DPC++,nthr:16
onednn_verbose,info,cpu,isa:Intel AVX2 with Intel DL Boost
onednn_verbose,info,gpu,runtime:DPC++
onednn_verbose,info,cpu,engine,0,backend:OpenCL,name:13th Gen Intel(R) Core(TM) i7-1360P,driver_version:2024.18.6,binary_kernels:disabled
onednn_verbose,info,graph,backend,0:dnnl_backend
onednn_verbose,primitive,info,template:operation,engine,primitive,implementation,prop_kind,memory_descriptors,attributes,auxiliary,problem_desc,exec_time
onednn_verbose,graph,info,template:operation,engine,partition_id,partition_kind,op_names,data_formats,logical_tensors,fpmath_mode,backend,exec_time
onednn_verbose,primitive,exec,cpu,eltwise,jit:avx2,forward_inference,data_f32::blocked:acdb::f0 diff_undef::undef:::,,alg:eltwise_relu alpha:0 beta:0,1x3x13x13,0.231201
Example passed on CPU.
./bin/getting-started-cpp gpu
root@e77315b5cda4:/workspace/oneAPI-samples/Libraries/oneDNN/getting_started/build# ./bin/getting-started-cpp gpu
Application couldn't find GPU, please run with CPU instead.
mkdir build
cd build
cmake ..
make spu-gpu
./vector-add-buffers
Even when I run !sycl-ls, only the CPU is listed.
Summary
There is an issue where graphics acceleration support for 13th generation Intel CPUs is not available.
Is there a way to verify if GPU acceleration is possible?
Why is my laptop unable to recognize it?
Version
I tested it using the image from https://hub.docker.com/r/intel/oneapi.
Environment
lscpu - click to extand
lspci -vvnn | grep "VGA compatible controller" - click to expand
I ran the Docker image with the
-itoption and proceeded as follows:Steps to reproduce
I conducted a total of three tests.
1. For the test at https://github.com/oneapi-src/oneAPI-samples/tree/master/Libraries/oneDNN/getting_started:
Result
if I run:
Result
2. For the test at https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add:
Result
Even when I run !sycl-ls, only the CPU is listed.
Observed behavior
Cannot find my GPU
Expected behavior
GPU acceleration works