aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/skc/platforms/cl_12/allocator_device_cl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compute/skc/platforms/cl_12/allocator_device_cl.h')
-rw-r--r--src/compute/skc/platforms/cl_12/allocator_device_cl.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/compute/skc/platforms/cl_12/allocator_device_cl.h b/src/compute/skc/platforms/cl_12/allocator_device_cl.h
new file mode 100644
index 0000000000..67d4e41398
--- /dev/null
+++ b/src/compute/skc/platforms/cl_12/allocator_device_cl.h
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2018 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can
+ * be found in the LICENSE file.
+ *
+ */
+
+#pragma once
+
+//
+//
+//
+
+#include <CL/opencl.h>
+
+//
+//
+//
+
+#include "suballocator.h"
+
+//
+//
+//
+
+struct skc_allocator_device
+{
+#if 0
+ struct {
+
+ } perm;
+#endif
+
+ struct {
+ struct skc_suballocator suballocator;
+ cl_mem extent;
+ } temp;
+};
+
+//
+//
+//
+
+void
+skc_allocator_device_create(struct skc_runtime * const runtime);
+
+void
+skc_allocator_device_dispose(struct skc_runtime * const runtime);
+
+//
+//
+//
+