Home
last modified time | relevance | path

Searched refs:cu_device (Results 1 - 2 of 2) sorted by relevance

/third_party/backends/backend/
H A Dhp.c636 char cu_device[PATH_MAX]; in hp_read_config() local
647 cu_device[0] = '\0'; in hp_read_config()
732 if (cu_device[0] != '\0') /* Did we work on a device ? */ in hp_read_config()
735 hp_attach_matching_devices (hp_global_config_get(), cu_device); in hp_read_config() local
736 cu_device[0] = '\0'; in hp_read_config()
744 strcpy (cu_device, dev_name); /* Save the device name */ in hp_read_config()
747 if (cu_device[0] != '\0') /* Did we work on a device ? */ in hp_read_config()
750 DBG(1, "hp_read_config: attach %s\n", cu_device); in hp_read_config()
751 hp_attach_matching_devices (hp_global_config_get (), cu_device); in hp_read_config() local
752 cu_device[ in hp_read_config()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dnvenc.c581 CUdevice cu_device; in nvenc_check_device() local
587 ret = CHECK_CU(dl_fn->cuda_dl->cuDeviceGet(&cu_device, idx)); in nvenc_check_device()
591 ret = CHECK_CU(dl_fn->cuda_dl->cuDeviceGetName(name, sizeof(name), cu_device)); in nvenc_check_device()
595 ret = CHECK_CU(dl_fn->cuda_dl->cuDeviceComputeCapability(&major, &minor, cu_device)); in nvenc_check_device()
608 ret = CHECK_CU(dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device)); in nvenc_check_device()

Completed in 5 milliseconds