Skip to content

Commit 49d8874

Browse files
bsyrowikpcolberg
authored andcommitted
Add new buffer location memory property to aocl_mmd.h
1 parent c7af3b5 commit 49d8874

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

include/MMD/aocl_mmd.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,16 @@ typedef enum {
484484
* memory bank. It is invalid to specify this property without also specifying
485485
* AOCL_MMD_GLOBAL_MEMORY_INTERFACE.
486486
*/
487-
AOCL_MMD_MEM_PROPERTIES_MEMORY_BANK
487+
AOCL_MMD_MEM_PROPERTIES_MEMORY_BANK,
488+
/**
489+
* Specifies the buffer location used for USM API calls. The buffer location
490+
* is an integer index that corresponds to a global memory location in the
491+
* board_spec.xml file. Similar to AOCL_MMD_MEM_PROPERTIES_GLOBAL_MEMORY.
492+
* The buffer location value may not have been validated by the OpenCL
493+
* runtime, so it is the responsibility of the MMD layer to ensure the value
494+
* is valid.
495+
*/
496+
AOCL_MMD_MEM_PROPERTIES_BUFFER_LOCATION
488497
} aocl_mmd_mem_properties_t;
489498

490499
/**

0 commit comments

Comments
 (0)