Skip to content

Commit fb23b75

Browse files
authored
fix freebsd warnings (#65)
1 parent 90c2d23 commit fb23b75

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

layers/10_cmdbufemu/emulate.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,11 +715,11 @@ struct NDRangeKernel : Command
715715
}
716716

717717
#if defined(cl_khr_command_buffer_mutable_dispatch)
718-
virtual cl_int getInfo(
718+
cl_int getInfo(
719719
cl_mutable_command_info_khr param_name,
720720
size_t param_value_size,
721721
void* param_value,
722-
size_t* param_value_size_ret)
722+
size_t* param_value_size_ret) override
723723
{
724724
switch( param_name )
725725
{
@@ -821,7 +821,7 @@ struct NDRangeKernel : Command
821821
return CL_INVALID_VALUE;
822822
}
823823

824-
int mutate( const cl_mutable_dispatch_config_khr* dispatchConfig )
824+
cl_int mutate( const cl_mutable_dispatch_config_khr* dispatchConfig )
825825
{
826826
//CL_INVALID_OPERATION if values of local_work_size and/or global_work_size result in an increase to the number of work-groups in the ND-range.
827827
//CL_INVALID_OPERATION if the values of local_work_size and/or global_work_size result in a change to work-group uniformity.

0 commit comments

Comments
 (0)