I've written some open cl code that enqueues a kernel with queue.enqueueNDRangeKernel(), queue.finish() and then tries to read the timing info with event.getProfilingInfo(). My problem occurs (I have identified exactly) after I call queue.finish().
queue.finish() does not return an error, but after I call it, I am no longer able to print out any variables. Not ones declared before queue.finish, not ones declared between it and the print out statement.
Does anyone have any idea what's going wrong?