|
@@ -2,7 +2,7 @@
|
|
|
*
|
|
|
* Copyright (C) 2011 Inria
|
|
|
* Copyright (C) 2012,2017 CNRS
|
|
|
- * Copyright (C) 2010-2011 Université de Bordeaux
|
|
|
+ * Copyright (C) 2010-2011,2018 Université de Bordeaux
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
@@ -33,7 +33,7 @@ soclGetContextInfo(cl_context context,
|
|
|
{
|
|
|
INFO_CASE(CL_CONTEXT_REFERENCE_COUNT, context->_entity.refs);
|
|
|
INFO_CASE_EX(CL_CONTEXT_DEVICES, context->devices, context->num_devices * sizeof(cl_device_id));
|
|
|
- INFO_CASE_EX(CL_CONTEXT_PROPERTIES, context->properties, context->num_properties * sizeof(cl_device_id));
|
|
|
+ INFO_CASE_EX(CL_CONTEXT_PROPERTIES, context->properties, context->num_properties * sizeof(cl_context_properties));
|
|
|
default:
|
|
|
return CL_INVALID_VALUE;
|
|
|
}
|