aboutsummaryrefslogtreecommitdiff
path: root/src/libANGLE/CLObject.h
diff options
context:
space:
mode:
authorJohn Plate <jplate@google.com>2021-04-27 19:31:31 +0100
committerCommit Bot <commit-bot@chromium.org>2021-05-03 17:27:16 +0000
commit05fb22724f2ec7173c32d8a01f6313579fc9219a (patch)
tree87707acd1fe13bf534fa956b10735ce3e3a85d95 /src/libANGLE/CLObject.h
parentbcae4fe18271c1b7a85ec4cc2155546485eccf31 (diff)
downloadangle-05fb22724f2ec7173c32d8a01f6313579fc9219a.tar.gz
Add support for OpenCL ICD Loader
Bug: angleproject:5908 Change-Id: Idafc0d15b69f9a21f2ab5e48c4c34f0dc0e0ee96 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2854598 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: John Plate <jplate@google.com>
Diffstat (limited to 'src/libANGLE/CLObject.h')
-rw-r--r--src/libANGLE/CLObject.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libANGLE/CLObject.h b/src/libANGLE/CLObject.h
new file mode 100644
index 0000000000..747004c91e
--- /dev/null
+++ b/src/libANGLE/CLObject.h
@@ -0,0 +1,25 @@
+//
+// Copyright 2021 The ANGLE Project Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// CLObject.h: Defines the cl::Object class, which is the base class of all ANGLE CL objects.
+
+#ifndef LIBANGLE_CLOBJECT_H_
+#define LIBANGLE_CLOBJECT_H_
+
+#include "libANGLE/CLtypes.h"
+
+namespace cl
+{
+
+class Object
+{
+ public:
+ constexpr Object() {}
+ ~Object() = default;
+};
+
+} // namespace cl
+
+#endif // LIBANGLE_CLCONTEXT_H_