aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/skc/platforms/cl_12/runtime_cl_12.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compute/skc/platforms/cl_12/runtime_cl_12.h')
-rw-r--r--src/compute/skc/platforms/cl_12/runtime_cl_12.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/compute/skc/platforms/cl_12/runtime_cl_12.h b/src/compute/skc/platforms/cl_12/runtime_cl_12.h
index 7e7ffcb284..ff820e6872 100644
--- a/src/compute/skc/platforms/cl_12/runtime_cl_12.h
+++ b/src/compute/skc/platforms/cl_12/runtime_cl_12.h
@@ -12,8 +12,8 @@
//
//
+#include "skc.h"
#include "runtime.h"
-#include "runtime_cl.h"
#include "cq_pool_cl.h"
#include "handle_pool_cl_12.h"
#include "block_pool_cl_12.h"
@@ -31,7 +31,11 @@ struct skc_runtime
//
// state visible to device
//
- struct skc_runtime_cl cl;
+ struct {
+ cl_context context;
+ cl_device_id device_id;
+ cl_uint align_bytes;
+ } cl;
struct {
struct skc_allocator_host host;
@@ -63,9 +67,8 @@ struct skc_runtime
skc_err
skc_runtime_cl_12_create(struct skc_context * const context,
- char const * const target_platform_substring,
- char const * const target_device_substring,
- cl_context_properties context_properties[]);
+ cl_context context_cl,
+ cl_device_id device_id_cl);
skc_err
skc_runtime_cl_12_dispose(struct skc_context * const context);