* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘gpuinfo’ ...
** this is package ‘gpuinfo’ version ‘0.2.0’
** package ‘gpuinfo’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-16 (Debian 16.2.0-4) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTuH9JF/R.INSTALL514d0279198be/gpuinfo/src'
gcc-16 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c gpuinfo.c -o gpuinfo.o
gpuinfo.c: In function ‘gpuinfo_cuda_probe’:
gpuinfo.c:99:29: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
99 | cu_init_fn cuInit = (cu_init_fn) GPUINFO_SYM(lib, "cuInit");
| ^
gpuinfo.c:100:47: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
100 | cu_device_count_fn cuDeviceGetCount = (cu_device_count_fn) GPUINFO_SYM(lib, "cuDeviceGetCount");
| ^
gpuinfo.c:101:51: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
101 | cu_driver_version_fn cuDriverGetVersion = (cu_driver_version_fn) GPUINFO_SYM(lib, "cuDriverGetVersion");
| ^
gpuinfo.c:123:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
123 | cu_device_get_fn cuDeviceGet = (cu_device_get_fn) GPUINFO_SYM(lib, "cuDeviceGet");
| ^
gpuinfo.c:124:45: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
124 | cu_device_name_fn cuDeviceGetName = (cu_device_name_fn) GPUINFO_SYM(lib, "cuDeviceGetName");
| ^
gpuinfo.c:125:48: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
125 | cu_device_memory_fn cuDeviceTotalMem = (cu_device_memory_fn) GPUINFO_SYM(lib, "cuDeviceTotalMem_v2");
| ^
gpuinfo.c:126:61: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
126 | cu_device_capability_fn cuDeviceComputeCapability = (cu_device_capability_fn) GPUINFO_SYM(lib, "cuDeviceComputeCapability");
| ^
gpuinfo.c:127:45: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
127 | cu_device_uuid_fn cuDeviceGetUuid = (cu_device_uuid_fn) GPUINFO_SYM(lib, "cuDeviceGetUuid_v2");
| ^
gpuinfo.c:134:31: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
134 | cuDeviceGetUuid = (cu_device_uuid_fn) GPUINFO_SYM(lib, "cuDeviceGetUuid");
| ^
gpuinfo.c: In function ‘gpuinfo_nccl_probe’:
gpuinfo.c:248:13: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
248 | (nccl_version_fn) GPUINFO_SYM(lib, "ncclGetVersion");
| ^
gpuinfo.c: In function ‘gpuinfo_cudart_probe’:
gpuinfo.c:304:13: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
304 | (cuda_runtime_version_fn) GPUINFO_SYM(lib, "cudaRuntimeGetVersion");
| ^
gpuinfo.c:306:13: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
306 | (cuda_device_count_fn) GPUINFO_SYM(lib, "cudaGetDeviceCount");
| ^
gpuinfo.c: In function ‘gpuinfo_opencl_probe’:
gpuinfo.c:350:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
350 | cl_platforms_fn getPlatforms = (cl_platforms_fn) GPUINFO_SYM(lib, "clGetPlatformIDs");
| ^
gpuinfo.c:351:36: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
351 | cl_devices_fn getDevices = (cl_devices_fn) GPUINFO_SYM(lib, "clGetDeviceIDs");
| ^
gpuinfo.c:368:36: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
368 | cl_devices_fn getDevices = (cl_devices_fn) GPUINFO_SYM(lib, "clGetDeviceIDs");
| ^
gpuinfo.c:369:37: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
369 | cl_device_info_fn getInfo = (cl_device_info_fn) GPUINFO_SYM(lib, "clGetDeviceInfo");
| ^
gpuinfo.c: In function ‘gpuinfo_rocm_probe’:
gpuinfo.c:491:31: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
491 | hip_init_fn hipInit = (hip_init_fn) GPUINFO_SYM(lib, "hipInit");
| ^
gpuinfo.c:492:49: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
492 | hip_device_count_fn hipGetDeviceCount = (hip_device_count_fn) GPUINFO_SYM(lib, "hipGetDeviceCount");
| ^
gpuinfo.c:493:55: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
493 | hip_runtime_version_fn hipRuntimeGetVersion = (hip_runtime_version_fn) GPUINFO_SYM(lib, "hipRuntimeGetVersion");
| ^
gcc-16 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
gcc-16 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o gpuinfo.so gpuinfo.o init.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTuH9JF/R.INSTALL514d0279198be/gpuinfo/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTuH9JF/R.INSTALL514d0279198be/gpuinfo/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTuH9JF/R.INSTALL514d0279198be/gpuinfo/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-gpuinfo/00new/gpuinfo/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (gpuinfo)