Class: Ignis::AI::Device::DeviceProperties

Inherits:
Struct
  • Object
show all
Defined in:
lib/nnw/ai/device.rb

Overview

GPU properties struct

Instance Attribute Summary collapse

Instance Attribute Details

#clock_rate_mhzObject

Returns the value of attribute clock_rate_mhz

Returns:

  • (Object)

    the current value of clock_rate_mhz



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def clock_rate_mhz
  @clock_rate_mhz
end

#compute_capabilityObject

Returns the value of attribute compute_capability

Returns:

  • (Object)

    the current value of compute_capability



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def compute_capability
  @compute_capability
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def id
  @id
end

#l2_cache_sizeObject

Returns the value of attribute l2_cache_size

Returns:

  • (Object)

    the current value of l2_cache_size



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def l2_cache_size
  @l2_cache_size
end

#max_threads_per_blockObject

Returns the value of attribute max_threads_per_block

Returns:

  • (Object)

    the current value of max_threads_per_block



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def max_threads_per_block
  @max_threads_per_block
end

#max_threads_per_smObject

Returns the value of attribute max_threads_per_sm

Returns:

  • (Object)

    the current value of max_threads_per_sm



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def max_threads_per_sm
  @max_threads_per_sm
end

#memory_clock_mhzObject

Returns the value of attribute memory_clock_mhz

Returns:

  • (Object)

    the current value of memory_clock_mhz



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def memory_clock_mhz
  @memory_clock_mhz
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def name
  @name
end

#shared_mem_per_blockObject

Returns the value of attribute shared_mem_per_block

Returns:

  • (Object)

    the current value of shared_mem_per_block



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def shared_mem_per_block
  @shared_mem_per_block
end

#sm_countObject

Returns the value of attribute sm_count

Returns:

  • (Object)

    the current value of sm_count



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def sm_count
  @sm_count
end

#total_memory_bytesObject

Returns the value of attribute total_memory_bytes

Returns:

  • (Object)

    the current value of total_memory_bytes



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def total_memory_bytes
  @total_memory_bytes
end

#total_memory_gbObject

Returns the value of attribute total_memory_gb

Returns:

  • (Object)

    the current value of total_memory_gb



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def total_memory_gb
  @total_memory_gb
end

#total_memory_mbObject

Returns the value of attribute total_memory_mb

Returns:

  • (Object)

    the current value of total_memory_mb



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def total_memory_mb
  @total_memory_mb
end

#warp_sizeObject

Returns the value of attribute warp_size

Returns:

  • (Object)

    the current value of warp_size



12
13
14
# File 'lib/nnw/ai/device.rb', line 12

def warp_size
  @warp_size
end