IDMLDevice::MakeResident method (directml.h)
Causes one or more pageable objects to become resident in GPU memory. Also see IDMLDevice::Evict.
Syntax
HRESULT MakeResident(
UINT count,
[in] IDMLPageable * const *ppObjects
);
Parameters
count
Type: UINT
This parameter determines the number of elements in the array passed in the ppObjects parameter.
[in] ppObjects
Type: IDMLPageable*
A pointer to a constant array of IDMLPageable pointers containing the pageable objects to make resident in GPU memory.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | directml.h |
Library | DirectML.lib |
DLL | DirectML.dll |