kpet / clvk

Implementation of OpenCL 3.0 on Vulkan
Apache License 2.0
360 stars 42 forks source link

Too much code in headers #735

Open rjodinchr opened 2 weeks ago

rjodinchr commented 2 weeks ago

clvk's headers contain lots of code.

This is leading to different issues because of circular dependencies amongst headers.

A typical work-around used in various places is to declare an opaque structure if it is enough.

Latest issue: https://github.com/kpet/clvk/pull/720#discussion_r1832228380