CUDAMemoryShape Class

From Derivative
Revision as of 15:56, 19 November 2020 by Malcolm (talk | contribs) (Created page with "{{TDClassSummary|label=CUDAMemoryShape|summary=Describes the shape of a CUDA memory segment.}} <section begin=HELPBODY /> {{ClassMemberSection |Sectionsummary= |empty=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Describes the shape of a CUDA memory segment.


widthint :

Get/Set the width in pixels of the memory.

heightint :

Get/Set the height in pixels of the memory.

numCompsint :

Get/Set the number of color components per pixel of the memory.

dataTypenumpy data type :

Get/Set the data type of each color component, as a numpy data type. E.g numpy.uint8, numpy.float32


No operator specific methods.