cupy.cuda.texture.SurfaceObject

class cupy.cuda.texture.SurfaceObject(ResourceDescriptor ResDesc)

A class that holds a surface object. Equivalent to cudaSurfaceObject_t. The returned SurfaceObject instance can be passed as a argument when launching RawKernel.

Parameters

ResDesc (ResourceDescriptor) – an intance of the resource descriptor.

Methods

Attributes

ResDesc
ptr