summaryrefslogtreecommitdiff
path: root/src/gallium/frontends/clover/api/platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/frontends/clover/api/platform.cpp')
-rw-r--r--src/gallium/frontends/clover/api/platform.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/frontends/clover/api/platform.cpp b/src/gallium/frontends/clover/api/platform.cpp
index 24706e8eaa5..fdffa321aca 100644
--- a/src/gallium/frontends/clover/api/platform.cpp
+++ b/src/gallium/frontends/clover/api/platform.cpp
@@ -90,6 +90,10 @@ clover::GetPlatformInfo(cl_platform_id d_platform, cl_platform_info param,
buf.as_vector<cl_name_version>() = platform.supported_extensions();
break;
+ case CL_PLATFORM_HOST_TIMER_RESOLUTION:
+ buf.as_scalar<cl_ulong>() = 0;
+ break;
+
default:
throw error(CL_INVALID_VALUE);
}