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

parboil.h assumes that the environment has CL/cl.h #1

Closed
briansp2020 opened this issue May 16, 2016 · 1 comment
Closed

parboil.h assumes that the environment has CL/cl.h #1

briansp2020 opened this issue May 16, 2016 · 1 comment

Comments

@briansp2020
Copy link

briansp2020 commented May 16, 2016

I'm trying to port parboil to run on AMD ROCm using HIP. While working on sgemm port, I found out that parboil.h assumes that cl.h is installed on the system. What proper way to detect whether the system has OpenCL or not?

Currently I'm working around it by adding APP_CFLAGS=-D __HIP_PLATFORM_HCC__ to sgemm/src/hip_base/Makefile (https://github.com/briansp2020/Parboil/blob/hip_sgemm/benchmarks/sgemm/src/hip_base/Makefile) but it seems a bit hackish.

@briansp2020
Copy link
Author

Closing since the issue is old and there has not been any recent activity.

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

1 participant