Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(fclDeviceBuffer), | intent(inout) | :: | memObject1 |
Buffer objects with which to swap pointers |
||
class(fclDeviceBuffer), | intent(inout) | :: | memObject2 |
Buffer objects with which to swap pointers |
Helper routine for swapping device buffer pointers. Also swaps the command queue pointers associated with each buffer if different.
The debug build will throw an error if either buffer is uninitialised or if the buffers do not match in size.