Package solvcon :: Package kerpak :: Module cuse :: Class CudaDataManager
[hide private]
[frames] | no frames]

Class CudaDataManager

source code


Customized dictionary managing solver data on GPU memory. Each item in the object represents a block of allocated memory on GPU, i.e., solvcon.scuda.GpuMemory object.

Instance Methods [hide private]
new empty dictionary

__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__set_cuda_pointer(self, exc, svr, aname, shf) source code
 
update_exd(self, exd=None) source code
 
exd_to_gpu(self) source code
 
arr_to_gpu(self, *args) source code
 
arr_from_gpu(self, *args) source code
 
free_all(self) source code

Inherited from gendata.AttributeDict: __getattr__, __setattr__

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

source code 

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

Returns:
new empty dictionary

Overrides: object.__init__
(inherited documentation)