Struct cudaPitchedPtr
CUDA Pitched memory pointer
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[IntrinsicType("cudaPitchedPtr")]
public struct cudaPitchedPtr
Constructors
cudaPitchedPtr(IntPtr, size_t, size_t, size_t)
constructor
Declaration
public cudaPitchedPtr(IntPtr d, size_t p, size_t xsz, size_t ysz)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | d | |
size_t | p | |
size_t | xsz | |
size_t | ysz |
Fields
pitch
Pitch of allocated memory in bytes
Declaration
public size_t pitch
Field Value
Type | Description |
---|---|
size_t |
ptr
Pointer to allocated memory
Declaration
public IntPtr ptr
Field Value
Type | Description |
---|---|
System.IntPtr |
xsize
Logical width of allocation in elements
Declaration
public size_t xsize
Field Value
Type | Description |
---|---|
size_t |
ysize
Logical height of allocation in elements
Declaration
public size_t ysize
Field Value
Type | Description |
---|---|
size_t |