Re: nvptx: 'cuDeviceGetCount' failure is fatal

2024-03-08 Thread Thomas Schwinge
Hi Tobias! On 2024-03-07T15:28:21+0100, Tobias Burnus wrote: > Thomas Schwinge wrote: >> OK to push the attached "nvptx: 'cuDeviceGetCount' failure is fatal"? > > I think the real question is: what does a 'cuDeviceGetCount' fail mean? Internally t

Re: nvptx: 'cuDeviceGetCount' failure is fatal

2024-03-07 Thread Tobias Burnus
fulfilled but + devices were present. */ + if (hsa_context.agent_count > 0 && omp_requires_mask != 0) +return -1; return hsa_context.agent_count; } ... OK to push the attached "nvptx: 'cuDeviceGetCount' failure is fatal"? I think th

nvptx: 'cuDeviceGetCount' failure is fatal (was: [Patch] OpenMP: Move omp requires checks to libgomp)

2024-03-07 Thread Thomas Schwinge
+ else if (new_num_devs >= 1) > { > /* Augment DEVICES and NUM_DEVICES. */ OK to push the attached "nvptx: 'cuDeviceGetCount' failure is fatal"? Grüße Thomas >From 8090da93cb00e4aa47a8b21b6548d739b2cebc49 Mon Sep 17 00: