Re: [PATCH 3/8] libgomp: runtime support for target_device selector

2024-01-07 Thread Tobias Burnus
Tobias Burnus wrote: Sandra Loosemore wrote: From: Kwok Cheung Yeung This patch implements the libgomp runtime support for the dynamic target_device selector via the GOMP_evaluate_target_device function. ... +GOMP_evaluate_target_device (int device_num, const char *kind, +

Re: [PATCH 3/8] libgomp: runtime support for target_device selector

2024-01-06 Thread Tobias Burnus
Hi Sandra, looks quite okay, but I have a couple of remarks: Sandra Loosemore wrote: From: Kwok Cheung Yeung This patch implements the libgomp runtime support for the dynamic target_device selector via the GOMP_evaluate_target_device function. ... --- /dev/null +++ b/libgomp/config/gcn/sele

[PATCH 3/8] libgomp: runtime support for target_device selector

2024-01-06 Thread Sandra Loosemore
From: Kwok Cheung Yeung This patch implements the libgomp runtime support for the dynamic target_device selector via the GOMP_evaluate_target_device function. include/ChangeLog * cuda/cuda.h (CUdevice_attribute): Add definitions for CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR an