Skip to content

Commit 4267174

Browse files
authored
Clarify that zeContextMakeMemoryResident is a cross-platform API (#71)
* Remove incorrect stipulation that zeContextMakeMemoryResident is Windows-only - zeContextMakeMemoryResident is a cross-platform API. Resolves #70 Signed-off-by: Will Damon \<[email protected]\>
1 parent 9af9764 commit 4267174

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/core/PROG.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,12 @@ such as multiple levels of indirection, there are two methods available:
18051805

18061806
+ If the driver is unable to make all allocations resident, then the call to ${x}CommandQueueExecuteCommandLists will return ${X}_RESULT_ERROR_OUT_OF_DEVICE_MEMORY
18071807

1808-
2. Explcit ${x}ContextMakeMemoryResident APIs are included for the application to dynamically change residency as needed. (Windows-only)
1808+
%if ver >= 1.6:
1809+
2. Explicit ${x}ContextMakeMemoryResident APIs are included for the application to dynamically change residency as needed.
1810+
%endif
1811+
%if ver < 1.6:
1812+
2. Explicit ${x}ContextMakeMemoryResident APIs are included for the application to dynamically change residency as needed. (Windows-only)
1813+
%endif
18091814

18101815
+ If the application over-commits device memory, then a call to ${x}ContextMakeMemoryResident will return ${X}_RESULT_ERROR_OUT_OF_DEVICE_MEMORY
18111816

0 commit comments

Comments
 (0)