aboutsummaryrefslogtreecommitdiff
path: root/src/libANGLE/CLPlatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libANGLE/CLPlatform.h')
-rw-r--r--src/libANGLE/CLPlatform.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libANGLE/CLPlatform.h b/src/libANGLE/CLPlatform.h
index bf79c15f17..1188d1797b 100644
--- a/src/libANGLE/CLPlatform.h
+++ b/src/libANGLE/CLPlatform.h
@@ -3,21 +3,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-
// CLPlatform.h: Defines the cl::Platform class, which provides information about platform-specific
// OpenCL features.
#ifndef LIBANGLE_CLPLATFORM_H_
#define LIBANGLE_CLPLATFORM_H_
-#include "libANGLE/CLtypes.h"
+#include "libANGLE/CLObject.h"
namespace cl
{
-class Platform final
+
+class Platform final : public _cl_platform_id, public Object
{
public:
- using IsCLObjectType = std::true_type;
+ Platform(const cl_icd_dispatch &dispatch);
+ ~Platform() = default;
};
} // namespace cl