Structs#
- group Structs
-
struct cuestWorkspace_t#
- #include <workspace_api.h>
A structure that stores pointers and sizes for host and device workspace memory.
Each buffer must be appropriately allocated by the user before use.
This struct is passed to cuEST object-creation APIs to provide necessary working memory. Buffers must outlive objects using them. All pointers may be set to 0/null if the corresponding buffer is not used.
Public Members
-
uintptr_t hostBuffer#
Opaque pointer to host-side workspace buffer (cast to
uintptr_tfor opaque handling)
-
size_t hostBufferSizeInBytes#
Size of host workspace in bytes.
-
uintptr_t deviceBuffer#
Opaque pointer to device-side (GPU) workspace buffer (cast to
uintptr_tfor opaque handling)
-
size_t deviceBufferSizeInBytes#
Size of device workspace in bytes.
-
uintptr_t hostBuffer#
-
struct cuestWorkspaceDescriptor_t#
- #include <workspace_api.h>
A structure that specifies required sizes for host and device workspace buffers.
Used as output from workspace query functions to communicate necessary allocation sizes. Does not include buffer pointers—only the size requirements. These sizes should be used by the client to allocate memory and populate a
cuestWorkspace_tbefore passing to object creation functions.
-
struct cuestWorkspace_t#