Searched refs:instantiated_devices (Results 1 – 3 of 3) sorted by relevance
196 static unsigned int instantiated_devices = 0; variable329 if (instantiated_devices != 0) in nvptx_init()553 if (instantiated_devices == 0) in nvptx_get_num_devices()1140 instantiated_devices++; in GOMP_OFFLOAD_init_device()1162 instantiated_devices--; in GOMP_OFFLOAD_fini_device()1165 if (instantiated_devices == 0) in GOMP_OFFLOAD_fini_device()
210 static unsigned int instantiated_devices = 0; variable351 if (instantiated_devices != 0) in nvptx_init()584 if (instantiated_devices == 0) in nvptx_get_num_devices()1200 instantiated_devices++; in GOMP_OFFLOAD_init_device()1222 instantiated_devices--; in GOMP_OFFLOAD_fini_device()1225 if (instantiated_devices == 0) in GOMP_OFFLOAD_fini_device()
6444 once instantiated_devices drops to 0.12378 (instantiated_devices, ptx_dev_lock): New.12389 (nvptx_get_num_devices): Use instantiated_devices not ptx_inited.