aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/clover/api/context.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2014-02-18 13:12:52 +0100
committerFrancisco Jerez <[email protected]>2014-02-21 12:51:23 +0100
commit9b2fe7cf96dc25f52ae43c8dfda20ee354c329f2 (patch)
tree3b75a228e8471084b49a720eb2c0bdd101519f6c /src/gallium/state_trackers/clover/api/context.cpp
parenta0d99937a0b4e778cc0b2e93886c814dd8819f6d (diff)
clover: Unabbreviate a few data accessor names for consistency.
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/api/context.cpp')
-rw-r--r--src/gallium/state_trackers/clover/api/context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/clover/api/context.cpp b/src/gallium/state_trackers/clover/api/context.cpp
index a78c00b72a7..021eea36f6e 100644
--- a/src/gallium/state_trackers/clover/api/context.cpp
+++ b/src/gallium/state_trackers/clover/api/context.cpp
@@ -117,15 +117,15 @@ clGetContextInfo(cl_context d_ctx, cl_context_info param,
break;
case CL_CONTEXT_NUM_DEVICES:
- buf.as_scalar<cl_uint>() = ctx.devs().size();
+ buf.as_scalar<cl_uint>() = ctx.devices().size();
break;
case CL_CONTEXT_DEVICES:
- buf.as_vector<cl_device_id>() = descs(ctx.devs());
+ buf.as_vector<cl_device_id>() = descs(ctx.devices());
break;
case CL_CONTEXT_PROPERTIES:
- buf.as_vector<cl_context_properties>() = desc(ctx.props());
+ buf.as_vector<cl_context_properties>() = desc(ctx.properties());
break;
default: