summaryrefslogtreecommitdiff
path: root/backend/src/driver/cl_gen_driver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/driver/cl_gen_driver.hpp')
-rw-r--r--backend/src/driver/cl_gen_driver.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/src/driver/cl_gen_driver.hpp b/backend/src/driver/cl_gen_driver.hpp
index 689d74e6..b4fee18a 100644
--- a/backend/src/driver/cl_gen_driver.hpp
+++ b/backend/src/driver/cl_gen_driver.hpp
@@ -229,7 +229,8 @@ struct GenGPUWorkItem { // Represent Some real work for GPU to do.
GenGPUWorkItem(cl_event event, const cl_event* dependEvents, cl_uint num_events);
virtual bool submit(void) = 0;
virtual bool complete(void) = 0;
- virtual cl_int isReady(void); // >0 means ready, =0 means not ready, <0 means error and cancel
+ cl_int isReady(void); // >0 means ready, =0 means not ready, <0 means error and cancel
+ bool setStatus(cl_int status);
virtual ~GenGPUWorkItem() { };
};