ILNumerics - Technical Application Development
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
NativeHostHandle for structs, ManagedHostHandleT for reference types T.
Allocate new memory for the given number of elements.
[ILNumerics Core Module]
Namespace: ILNumerics.Core.DeviceManagement
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- elementCount
- Type: SystemUInt64
Number of elements to store. - clear (Optional)
- Type: SystemBoolean
[Optional] true: make sure the memory is cleared on return. Default: false.
Type Parameters
- T
- Element type.
Return Value
Type: MemoryHandleNativeHostHandle for structs, ManagedHostHandleT for reference types T.
Remarks
[ILNumerics Core Module]
See Also