drstrip

Persistent Kernel Memory?

Discussion created by drstrip on Nov 29, 2009
Latest reply on Dec 3, 2009 by riza.guntur

Is there any way to store values in a kernel between invocations? I'm looking at a large array computation that I would like to periodically interrupt to report progress back to the caller, but would prefer not to have to send all the data and state information back and forth every time. Brook+ doesn't support static vars, if i understand correctly, but is there some other way to persist state between kernel calls? I think OpenCL supports this, so it's not a hardware issue.

Outcomes