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

clpeak can't run on ARM64 platform. #125

Open
shangbaogen opened this issue Dec 12, 2024 · 4 comments
Open

clpeak can't run on ARM64 platform. #125

shangbaogen opened this issue Dec 12, 2024 · 4 comments

Comments

@shangbaogen
Copy link

I run the clpeak on the follow platform, the detail information as follow:
--------------------------------------------------------------------------------
[root@localhost build]# uname -r
6.6.0-28.0.0.34.oe2403.aarch64
[root@localhost build]# uname -m
aarch64

But I get the follow error. could you help to explain the reason, and how to resolve this issue?
--------------------------------------------------------------------------------------------------
[root@localhost build]# ./clpeak
clGetPlatformIDs (-1001)
no platforms found
[root@localhost build]#

Thanks in advance!

@krrishnarraj
Copy link
Owner

Guess there are no opencl platforms installed in that system

@shangbaogen
Copy link
Author

Guess there are no opencl platforms installed in that system

Thanks for your reply, do you know how to install the opencl platforms ? Thanks in advance!

The follow is the installed opencl so on my board.

[root@localhost usr]# find|grep -i opencl
./share/mime/text/x-opencl-src.xml
./share/cmake/Help/module/FindOpenCL.rst
./share/cmake/Modules/FindOpenCL.cmake
./lib64/libnvidia-opencl.so.1
./lib64/libnvidia-opencl.so.560.35.03
./lib64/libOpenCL.so
./lib64/libOpenCL.so.1.0
./lib64/libOpenCL.so.1.0.0
./lib64/libOpenCL.so.1
./local/cuda-12.6/nsight-systems-2024.5.1/target-linux-sbsa-armv8/nvtx/include/nvtx3/nvToolsExtOpenCL.h
./local/cuda-12.6/nsight-systems-2024.5.1/target-linux-sbsa-armv8/nvtx/include/nvtx3/nvtxDetail/nvtxImplOpenCL_v3.h
./local/cuda-12.6/targets/sbsa-linux/include/nvToolsExtOpenCL.h
./local/cuda-12.6/targets/sbsa-linux/include/nvtx3/nvToolsExtOpenCL.h
./local/cuda-12.6/targets/sbsa-linux/include/nvtx3/nvtxDetail/nvtxImplOpenCL_v3.h
[root@localhost usr]#

@krrishnarraj
Copy link
Owner

Try https://github.com/pocl/pocl

@shangbaogen
Copy link
Author

Thanks for your reply. I try to install it, but it still can't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants