acldvppMalloc

Description

Allocates device memory for media processing. The allocated huge page memory meets the data processing requirements (for example, the start address is 128-byte aligned). This API is synchronous.

Restrictions

Prototype

aclError acldvppMalloc(void **devPtr, size_t size)

Parameters

Parameter

Input/Output

Description

devPtr

Output

Pointer to the pointer to the allocated device memory.

size

Input

Requested allocation size in bytes.

Returns

0 on success; else, failure.

See Also

For details about the API call sequence and example, see Media Data Processing V1.