![]() This patch adds an external interface to access the dynamic shared memory buffer in the device runtime. The function introduced is ``llvm_omp_get_dynamic_shared``. This includes a host-side definition that only returns a null pointer so that it can be used when host-fallback is enabled without crashing. Support for dynamic shared memory was also ported to the old device runtime. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D110957 |
||
---|---|---|
.. | ||
is_initial_device.c | ||
omp_device_managed_memory.c | ||
omp_dynamic_shared_memory.c | ||
omp_get_num_devices.c | ||
omp_get_num_devices_with_empty_target.c | ||
omp_host_pinned_memory.c |