A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://arrayfire.org/docs/group__device__func__pinned.htm below:

ArrayFire: pinned

Allocate pinned memory using ArrayFire's memory manager. More...

Allocate pinned memory using ArrayFire's memory manager.

These functions allocate page locked memory. This type of memory has better performance characteristics but require additional care because they are a limited resource.

◆ af_alloc_pinned() ◆ pinned() [1/2] T * pinned ( const size_t  elements )

Allocate pinned memory using ArrayFire's memory manager.

These functions allocate page locked memory. This type of memory has better performance characteristics but require additional care because they are a limited resource.

Parameters
[in] elements the number of elements to allocate
Returns
the pointer to the memory
◆ pinned() [2/2] AFAPI void * pinned ( const size_t  elements, const dtype  type  )

Allocate pinned memory using ArrayFire's memory manager.

These functions allocate page locked memory. This type of memory has better performance characteristics but require additional care because they are a limited resource.

Parameters
[in] elements the number of elements to allocate [in] type is the type of the elements to allocate
Returns
the pointer to the memory

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4