MCPcopy Create free account
hub / github.com/astra-toolbox/astra-toolbox / __init__

Method __init__

python/astra/pythonutils.py:78–83  ·  view source on GitHub ↗
(self, ptr, x, y, z, pitch)

Source from the content-addressed store, hash-verified

76 allocated by cudaMalloc3D, pitch is the pitch as returned by cudaMalloc3D.
77 """
78 def __init__(self, ptr, x, y, z, pitch):
79 self.ptr = ptr
80 self.x = x
81 self.y = y
82 self.z = z
83 self.pitch = pitch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected