LGTM, will push latter, thanks.
On Mon, Jun 23, 2014 at 10:38:36PM +0800, Yang Rong wrote: > Include CL_DEVICE_LINKER_AVAILABLE, CL_DEVICE_PRINTF_BUFFER_SIZE, > CL_DEVICE_PREFERRED_INTEROP_USER_SYNC. > > Signed-off-by: Yang Rong <rong.r.y...@intel.com> > --- > src/cl_device_id.c | 3 +++ > src/cl_device_id.h | 3 +++ > src/cl_gt_device.h | 3 +++ > 3 files changed, 9 insertions(+) > > diff --git a/src/cl_device_id.c b/src/cl_device_id.c > index f8c5c86..0263f02 100644 > --- a/src/cl_device_id.c > +++ b/src/cl_device_id.c > @@ -390,9 +390,12 @@ cl_get_device_info(cl_device_id device, > DECL_FIELD(ENDIAN_LITTLE, endian_little) > DECL_FIELD(AVAILABLE, available) > DECL_FIELD(COMPILER_AVAILABLE, compiler_available) > + DECL_FIELD(LINKER_AVAILABLE, linker_available) > DECL_FIELD(EXECUTION_CAPABILITIES, execution_capabilities) > DECL_FIELD(QUEUE_PROPERTIES, queue_properties) > DECL_FIELD(PLATFORM, platform) > + DECL_FIELD(PRINTF_BUFFER_SIZE, printf_buffer_size) > + DECL_FIELD(PREFERRED_INTEROP_USER_SYNC, interop_user_sync) > DECL_STRING_FIELD(NAME, name) > DECL_STRING_FIELD(VENDOR, vendor) > DECL_STRING_FIELD(VERSION, version) > diff --git a/src/cl_device_id.h b/src/cl_device_id.h > index 5ce3cfb..422ef37 100644 > --- a/src/cl_device_id.h > +++ b/src/cl_device_id.h > @@ -78,9 +78,12 @@ struct _cl_device_id { > cl_bool endian_little; > cl_bool available; > cl_bool compiler_available; > + cl_bool linker_available; > cl_device_exec_capabilities execution_capabilities; > cl_command_queue_properties queue_properties; > cl_platform_id platform; > + size_t printf_buffer_size; > + cl_bool interop_user_sync; > const char *name; > const char *vendor; > const char *version; > diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h > index f385815..ba7d66c 100644 > --- a/src/cl_gt_device.h > +++ b/src/cl_gt_device.h > @@ -63,11 +63,14 @@ > .endian_little = CL_TRUE, > .available = CL_TRUE, > .compiler_available = CL_TRUE, > +.linker_available = CL_TRUE, > .execution_capabilities = CL_EXEC_KERNEL | CL_EXEC_NATIVE_KERNEL, > .queue_properties = CL_QUEUE_PROFILING_ENABLE, > .platform = NULL, /* == intel_platform (set when requested) */ > /* IEEE 754, XXX does IVB support CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT? */ > .single_fp_config = CL_FP_INF_NAN | CL_FP_ROUND_TO_NEAREST , /* IEEE 754. */ > +.printf_buffer_size = 1 * 1024 * 1024, > +.interop_user_sync = CL_TRUE, > > #define DECL_INFO_STRING(FIELD, STRING) \ > .FIELD = STRING, \ > -- > 1.8.3.2 > > _______________________________________________ > Beignet mailing list > Beignet@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet