[Beignet] [PATCH v2 1/8] [OCL20] runtime: fix gcc build error.
Song, Ruiling
ruiling.song at intel.com
Wed Mar 2 06:12:07 UTC 2016
This patchset LGTM.
Thanks!
Ruiling
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> xionghu.luo at intel.com
> Sent: Tuesday, March 1, 2016 7:35 PM
> To: beignet at lists.freedesktop.org
> Cc: Luo, Xionghu <xionghu.luo at intel.com>
> Subject: [Beignet] [PATCH v2 1/8] [OCL20] runtime: fix gcc build error.
>
> From: Luo Xionghu <xionghu.luo at intel.com>
>
> this link fail appears on gcc 5.2.1.
>
> Signed-off-by: Luo Xionghu <xionghu.luo at intel.com>
> ---
> src/cl_api.c | 2 +-
> src/cl_event.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/cl_api.c b/src/cl_api.c
> index c5cb67a..98f871c 100644
> --- a/src/cl_api.c
> +++ b/src/cl_api.c
> @@ -64,7 +64,7 @@ typedef intptr_t cl_device_partition_property;
> return RET; \
> } while(0)
>
> -inline cl_int
> +static inline cl_int
> handle_events(cl_command_queue queue, cl_int num, const cl_event *wait_list,
> cl_event* event, enqueue_data* data, cl_command_type type)
> {
> diff --git a/src/cl_event.c b/src/cl_event.c
> index bd4d700..041c178 100644
> --- a/src/cl_event.c
> +++ b/src/cl_event.c
> @@ -55,7 +55,7 @@ void cl_event_insert_last_events(cl_command_queue
> queue,cl_event event)
> else set_last_event(queue,event);
> }
>
> -inline cl_bool
> +static inline cl_bool
> cl_event_is_gpu_command_type(cl_command_type type)
> {
> switch(type) {
> --
> 2.1.4
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list