Open programmer-lxj opened 1 month ago
Hi @programmer-lxj, could you please provide information which compiler version are you using and also an output of sycl-ls --verbose
?
Hi @programmer-lxj, could you please provide information which compiler version are you using and also an output of
sycl-ls --verbose
?
Dear professor, Thank you very much for your reply. I deleted the previous container environment and I forgot about this information. What I want to do is to make onednn support TPU. I tried to modify the onednn source code some time ago and add a tpu interface to the gpu branch, but I found that memory allocation uses sycl::malloc_shared. I originally wanted to explicitly call the TPU memory allocation function here, but this will destroy the original onednn call on the gpu. I would like to ask if it is necessary to write these two programs of the type llvm/sycl/plugins/cuda/pi_cuda.cpp(.hpp)? These two programs are a bit complicated and I don't quite understand them for now. Can't I directly modify the source code in onednn to support TPU? Thank you for your help, looking forward to your reply!
Describe the bug
configure and compile and check have't problem. I compile the sample code is also no problem: clang++ -fsycl simple-sycl-app.cpp -o simple-sycl-app.o. But I execute it report the following error : ./simple-sycl-app.o Linking started Never resolved value found in function (Producer: 'Intel.oneAPI.DPCPP.Compiler_2022.1.0' Reader: 'Intel.oneAPI.DPCPP.Compiler_2022.1.0')Linking failed.
Thank you for your help, looking forward to your reply!
To reproduce
Environment
clang++ --version
]sycl-ls --verbose
]Additional context
No response