@@ -111,6 +111,7 @@ details:
111111 - " The ptr must be aligned to pattern_size"
112112 - " The value to initialize memory to is described by the pattern and the pattern size."
113113 - " The pattern size must be a power-of-two and less than or equal to the `maxMemoryFillPatternSize` member of $x_command_queue_group_properties_t."
114+ - " The size must be a multiple of pattern size."
114115 - " The application must ensure the events are accessible by the device on which the command list was created."
115116 - " The application must ensure the command list and events were created, and the memory was allocated, on the same context."
116117 - " The application must **not** call this function from simultaneous threads with the same command list handle."
@@ -148,6 +149,7 @@ returns:
148149 - $X_RESULT_ERROR_UNSUPPORTED_ALIGNMENT
149150 - $X_RESULT_ERROR_INVALID_SIZE :
150151 - " `(nullptr == phWaitEvents) && (0 < numWaitEvents)`"
152+ - " `size % pattern_size != 0`"
151153--- # --------------------------------------------------------------------------
152154type : function
153155desc : " Initializes host, device, or shared memory with additional parameters."
@@ -160,6 +162,7 @@ details:
160162 - " The ptr must be aligned to pattern_size."
161163 - " The value to initialize memory to is described by the pattern and the pattern size."
162164 - " The pattern size must be a power-of-two and less than or equal to the `maxMemoryFillPatternSize` member of $x_command_queue_group_properties_t."
165+ - " The size must be a multiple of pattern size."
163166 - " The application must ensure the events are accessible by the device on which the command list was created."
164167 - " The application must ensure the command list and events were created, and the memory was allocated, on the same context."
165168 - " The application must **not** call this function from simultaneous threads with the same command list handle."
@@ -200,6 +203,7 @@ returns:
200203 - $X_RESULT_ERROR_UNSUPPORTED_ALIGNMENT
201204 - $X_RESULT_ERROR_INVALID_SIZE :
202205 - " `(nullptr == phWaitEvents) && (0 < numWaitEvents)`"
206+ - " `size % pattern_size != 0`"
203207 - $X_RESULT_ERROR_UNSUPPORTED_FEATURE :
204208 - " an extension passed via pNext is not supported"
205209--- # --------------------------------------------------------------------------
0 commit comments