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
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?
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.The text was updated successfully, but these errors were encountered: