lib/opencl_ruby_ffi/Device.rb
def partition_by_counts( *compute_unit_count_list )
        compute_unit_count_list = [1] if compute_unit_count_list == []
        compute_unit_count_list.flatten!
        return OpenCL.create_sub_devices( self,  [ PARTITION_BY_COUNTS] + compute_unit_count_list + [ PARTITION_BY_COUNTS_LIST_END ] )
      end
# Partitions the Device in serveral sub-devices each containing a specific number of compute units
#
# ==== Attributes
# 
# * +compute_unit_count_list+ - an Array of compute unit counts
#
# ==== Returns
#
# an Array of Device
Partitions the Device in serveral sub-devices each containing a specific number of compute units
Attributes

+compute_unit_count_list+ - an Array of compute unit counts

Returns

an Array of Device
Partitions the Device in serveral sub - devices each containing a specific number of compute units Attributes + compute_unit_count_list + - an Array of compute unit counts Returns an Array of Device
def partition_by_counts( *compute_unit_count_list )
        compute_unit_count_list = [1] if compute_unit_count_list == []
        compute_unit_count_list.flatten!
        return OpenCL.create_sub_devices( self,  [ PARTITION_BY_COUNTS] + compute_unit_count_list + [ PARTITION_BY_COUNTS_LIST_END ] )
      end
def partition_by_counts ( * compute_unit_count_list ) compute_unit_count_list = [ 1 ] if compute_unit_count_list == [ ] compute_unit_count_list . flatten! return OpenCL . create_sub_devices ( self , [ PARTITION_BY_COUNTS ] + compute_unit_count_list + [ PARTITION_BY_COUNTS_LIST_END ] ) end
Partitions the Device in serveral sub-devices each containing a specific number of compute units
 Attributes
Partitions the Device in serveral sub - devices each containing a specific number of compute units Attributes
compute_unit_count_list