Class: Ignis::AI::Device::DeviceProperties
- Inherits:
-
Struct
- Object
- Struct
- Ignis::AI::Device::DeviceProperties
- Defined in:
- lib/nnw/ai/device.rb
Overview
GPU properties struct
Instance Attribute Summary collapse
-
#clock_rate_mhz ⇒ Object
Returns the value of attribute clock_rate_mhz.
-
#compute_capability ⇒ Object
Returns the value of attribute compute_capability.
-
#id ⇒ Object
Returns the value of attribute id.
-
#l2_cache_size ⇒ Object
Returns the value of attribute l2_cache_size.
-
#max_threads_per_block ⇒ Object
Returns the value of attribute max_threads_per_block.
-
#max_threads_per_sm ⇒ Object
Returns the value of attribute max_threads_per_sm.
-
#memory_clock_mhz ⇒ Object
Returns the value of attribute memory_clock_mhz.
-
#name ⇒ Object
Returns the value of attribute name.
-
#shared_mem_per_block ⇒ Object
Returns the value of attribute shared_mem_per_block.
-
#sm_count ⇒ Object
Returns the value of attribute sm_count.
-
#total_memory_bytes ⇒ Object
Returns the value of attribute total_memory_bytes.
-
#total_memory_gb ⇒ Object
Returns the value of attribute total_memory_gb.
-
#total_memory_mb ⇒ Object
Returns the value of attribute total_memory_mb.
-
#warp_size ⇒ Object
Returns the value of attribute warp_size.
Instance Attribute Details
#clock_rate_mhz ⇒ Object
Returns the value of attribute clock_rate_mhz
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def clock_rate_mhz @clock_rate_mhz end |
#compute_capability ⇒ Object
Returns the value of attribute compute_capability
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def compute_capability @compute_capability end |
#id ⇒ Object
Returns the value of attribute id
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def id @id end |
#l2_cache_size ⇒ Object
Returns the value of attribute 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_block ⇒ Object
Returns the value of attribute 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_sm ⇒ Object
Returns the value of attribute 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_mhz ⇒ Object
Returns the value of attribute memory_clock_mhz
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def memory_clock_mhz @memory_clock_mhz end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def name @name end |
#shared_mem_per_block ⇒ Object
Returns the value of attribute 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_count ⇒ Object
Returns the value of attribute sm_count
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def sm_count @sm_count end |
#total_memory_bytes ⇒ Object
Returns the value of attribute total_memory_bytes
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def total_memory_bytes @total_memory_bytes end |
#total_memory_gb ⇒ Object
Returns the value of attribute total_memory_gb
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def total_memory_gb @total_memory_gb end |
#total_memory_mb ⇒ Object
Returns the value of attribute total_memory_mb
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def total_memory_mb @total_memory_mb end |
#warp_size ⇒ Object
Returns the value of attribute warp_size
12 13 14 |
# File 'lib/nnw/ai/device.rb', line 12 def warp_size @warp_size end |