I have a question regarding OpenGL/OpenCL concurrency. If I:
- create and bind an OpenGL context,
- create and bind an OpenCL context - onwards, the OpenGL and OpenCL contexts will both remain bound at all times,
- launch an OpenCL kernel
- immediately after, draw a large OpenGL scene (my scenario is a scene that makes heavy use of shaders)
will my GPU process the OpenCL kernel and OpenGL shaders concurrently, that is, sharing GPU resources? I have a situation in which I absolutely need to have both being processed at the same time. The question is, will I have to target the GPU or CPU for my kernel.