ROCm/ROCm-OpenCL-Runtime

CL headers are stale with known bugs versus source repo

Noerr opened this issue · 1 comments

Noerr commented

Khronos C++ headers are stale versus the repo https://github.com/KhronosGroup/OpenCL-CLHPP
cl.hpp and cl2.hpp contain a bug in Platform::getDevices() which makes its way into the clinfo utility. This has been resolved in the Khronos source repo:
KhronosGroup/OpenCL-CLHPP#85

Proposal: refresh the contents of your header copies:
ROCm-OpenCL-Runtime/api/opencl/khronos/headers/opencl2.0/CL/*
ROCm-OpenCL-Runtime/api/opencl/khronos/headers/opencl2.1/CL/*
ROCm-OpenCL-Runtime/api/opencl/khronos/headers/opencl2.2/CL/*

(I think cl.hpp should be removed from this project. It is deprecated. No need to keep it around.)

Hi, this is done already internally and should be propagated to github in a future ROCm release.