dcv.core.memory

Module introduces memory management utilities to help manage memory for SIMD compatible arrays, with or without use of GC.

Members

Functions

alignedAlloc
T[] alignedAlloc(size_t count, uint alignment)

Allocate array using strict memory alignment.

alignedFree
void alignedFree(void[] ptr)

Frees memory allocated using alignedAlloc function.

alignedRealloc
bool alignedRealloc(void[] ptr, size_t newSize)

Allocate array using strict memory alignment.

allocArray
T[] allocArray(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
allocArray
T[] allocArray(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
freeArray
void freeArray(void[] ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
freeArray
void freeArray(void[] ptr)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

VectorAVX
template VectorAVX(T)

Template to get alias to AVX compatible vector for given type.

VectorSSE2
template VectorSSE2(T)

Template to get alias to SSE2 compatible vector for given type.

Variables

vectorSize
enum size_t vectorSize(T);
Undocumented in source.

Meta

Authors

Relja Ljubobratovic

License

$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).