Re: libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA'

2022-05-12 Thread Tom de Vries via Gcc-patches
to disentangle that with the attached "libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA'"? we discussed dropping --with-cuda, so do I understand it correctly that you now propose to drop --with-cuda and --with-c

[PING^2] libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA'

2022-05-12 Thread Thomas Schwinge
_DYNAMIC], >>>>> + [Define to 1 if the NVIDIA plugin should dlopen libcuda.so.1, 0 if it >>>>> should be linked against it.]) >>>> >>>> Actually, the conditionals leading to 'PLUGIN_NVPTX_DYNAMIC=1' here do >>>> control two orthog

[PING] libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA'

2022-05-05 Thread Thomas Schwinge
NVPTX_DYNAMIC], >>>> + [Define to 1 if the NVIDIA plugin should dlopen libcuda.so.1, 0 if it >>>> should be linked against it.]) >>> >>> Actually, the conditionals leading to 'PLUGIN_NVPTX_DYNAMIC=1' here do >>> control two orthogonal aspects; OK to

Re: libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA'

2022-04-28 Thread Thomas Schwinge
against it.]) >> >> Actually, the conditionals leading to 'PLUGIN_NVPTX_DYNAMIC=1' here do >> control two orthogonal aspects; OK to disentangle that with the attached >> "libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into >> 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CU

Re: libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA' (was: [PATCH] Allow building GCC with PTX offloading even without CUDA

2022-04-08 Thread Tom de Vries via Gcc-patches
to 1 if the NVIDIA plugin should dlopen libcuda.so.1, 0 if it should be linked against it.]) Actually, the conditionals leading to 'PLUGIN_NVPTX_DYNAMIC=1' here do control two orthogonal aspects; OK to disentangle that with the attached "libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DY

libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA' (was: [PATCH] Allow building GCC with PTX offloading even without CUDA bein

2022-04-07 Thread Thomas Schwinge
r Gesellschaft: München; Registergericht München, HRB 106955 >From c455522ac5d8ab41e5d11f8997678e042ff48e87 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 7 Apr 2022 23:10:16 +0200 Subject: [PATCH] libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SY