summaryrefslogtreecommitdiff
path: root/src/clpp11.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clpp11.hpp')
-rw-r--r--src/clpp11.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clpp11.hpp b/src/clpp11.hpp
index 9d6929a7..86a84815 100644
--- a/src/clpp11.hpp
+++ b/src/clpp11.hpp
@@ -167,6 +167,7 @@ class Platform {
// Methods to retrieve platform information
std::string Name() const { return GetInfoString(CL_PLATFORM_NAME); }
std::string Vendor() const { return GetInfoString(CL_PLATFORM_VENDOR); }
+ std::string Version() const { return GetInfoString(CL_PLATFORM_VERSION); }
// Returns the number of devices on this platform
size_t NumDevices() const {