Package hedge :: Package backends :: Package cuda :: Class GPUBlock
[hide private]
[frames] | no frames]

Class GPUBlock

source code


Describes what data is local to each thread block on the GPU.

Instance Methods [hide private]
 
__init__(self, number, local_discretization, cpu_slices, microblocks, el_offsets_list, el_number_map)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Instance Variables [hide private]
  cpu_slices
A list of slices describing the CPU-side storage locations for the block's elements.
  el_number_map
A dictionary mapping hedge.mesh.Element instances to their number within this block.
  el_offsets_list
A lsit containing the offsets of the elements in this block, in order.
  local_discretization
The hedge.element.Element instance used for elements in this block.
  microblocks
A list of lists of hedge.mesh.Element instances, each representing the elements in one block, and together representing one block.
  number
The global number of this block.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, number, local_discretization, cpu_slices, microblocks, el_offsets_list, el_number_map)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)