Error 35 With GeForce GT 640

Windows 10, Visual Studio 2019.
Compiling sample ‘clock’ ok. When started I get:

"CUDA error at E:\C\cuda-samples-master\Common\helper_cuda.h:802 code=35(cudaErrorInsufficientDriver) “cudaGetDeviceCount(&device_count)”

The card is listed here: CUDA GPUs - Compute Capability | NVIDIA Developer

System info:
NVIDIA System Information report created on: 05/29/2023 10:06:23

Operating System: Windows 10 Pro, 64-bit
DirectX version: 12.0
GPU processor: NVIDIA GeForce GT 640
Driver version: 474.30
Driver Type: DCH
Direct3D feature level: 11_0
CUDA Cores: 384
Memory interface: 128-bit
Total available graphics memory: 5055 MB
Dedicated video memory: 1024 MB GDDR5
System video memory: 0 MB
Shared system memory: 4031 MB
Video BIOS version:
IRQ: Not used
Bus: PCI Express x16 Gen3
Device Id: 10DE 0FC0 093D10DE
Part Number: 2010 0003


nvui.dll NVIDIA User Experience Driver Component
nvxdplcy.dll NVIDIA User Experience Driver Component
nvxdbat.dll NVIDIA User Experience Driver Component
nvxdapix.dll NVIDIA User Experience Driver Component
NVCPL.DLL NVIDIA User Experience Driver Component
nvCplUIR.dll 8.1.940.0 NVIDIA Control Panel
nvCplUI.exe 8.1.940.0 NVIDIA Control Panel
nvWSSR.dll NVIDIA Workstation Server
nvWSS.dll NVIDIA Workstation Server
nvViTvSR.dll NVIDIA Video Server
nvViTvS.dll NVIDIA Video Server
nvLicensingS.dll NVIDIA Licensing Server
nvDevToolSR.dll NVIDIA Licensing Server
nvDevToolS.dll NVIDIA 3D Settings Server
nvDispSR.dll NVIDIA Display Server
nvDispS.dll NVIDIA Display Server
PhysX 09.21.0713 NVIDIA PhysX
NVCUDA64.DLL NVIDIA CUDA 11.4.364 driver
nvGameSR.dll NVIDIA 3D Settings Server
nvGameS.dll NVIDIA 3D Settings Server

You do not mention what version of Cuda you used to compile with, but I’ll hazard a guess at 11.4, based on the NVCUDA64.DLL entry.

The GT640 is a Kepler Compute Capability 3.0 card. Cuda Toolkit 11.4 does not support Compute Capability cards < 3.5, so you will need to install Cuda 10.2, the last one to support 3.0.

1 Like

Cuda 12.1

Same problem. Cuda 10.2 is the last version to support CC 3.0.

Working ok with 10.2, thanks:
CUDA Clock sample
GPU Device 0: “Kepler” with compute capability 3.0
Average clocks/block = 45423.203125

Strange though that the installation system compatibility check for 12.1 passed without errors.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.