Re: [Patch] libgomp/plugin: Add initial interop support to nvptx + gcn

2025-03-21 Thread Tobias Burnus
This patch has now been committed as r15-8657-g41b9c3b848c8cb with two changes: * In interop-fr-1.c, one assert did not properly handle the case -99 (= use default device) in the is-returned-device-number-correct check. (Or actually two: one for gcn and one identical one for nvptx.) * It fix

[Patch] libgomp/plugin: Add initial interop support to nvptx + gcn

2025-03-15 Thread Tobias Burnus
This patch requires the to be submitted GOMP_interop patch, which handles the generic libgomp parts. But once it is available, this patch adds support for the foreign runtimes cuda/cuda_driver/hip for nvptx and hip/hsa for gcn. The patch is based on my old RFC patch https://gcc.gnu.org/pipermail/

Re: [Patch] libgomp/plugin: Add initial interop support to nvptx + gcn

2025-03-11 Thread Andrew Stubbs
On 10/03/2025 21:48, Tobias Burnus wrote: This patch requires the to be submitted GOMP_interop patch, which handles the generic libgomp parts. But once it is available, this patch adds support for the foreign runtimes cuda/cuda_driver/hip for nvptx and hip/hsa for gcn. The patch is based on my o