NVIDIA GPU 801 Operation Not Supported Error

Dear Sir,

I am trying to setup the GPU for Deeplearning on VMWARE PLATFORM . OS is WINDOWS SERVER 2019. However I am getting 801 Operation not supported error

CUDNN VERSION INSTALLED

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\extras>nvidia-smi
Tue Jan 21 21:59:29 2025
±----------------------------------------------------------------------------------------+
| NVIDIA-SMI 553.24 Driver Version: 553.24 CUDA Version: 12.4 |
|-----------------------------------------±-----------------------±---------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA L4-12A WDDM | 00000000:02:00.0 On | N/A |
| N/A 0C P8 N/A / N/A | 741MiB / 12288MiB | 2% Prohibited |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+

±----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 7324 C+G …crosoft\Edge\Application\msedge.exe N/A |
| 0 N/A N/A 11884 C+G …5n1h2txyewy\ShellExperienceHost.exe N/A |
| 0 N/A N/A 12156 C+G C:\Windows\explorer.exe N/A |
| 0 N/A N/A 12292 C+G …Cortana_cw5n1h2txyewy\SearchUI.exe N/A |
±----------------------------------------------------------------------------------------+

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\extras>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Jan__6_19:04:39_Pacific_Standard_Time_2023
Cuda compilation tools, release 12.0, V12.0.140
Build cuda_12.0.r12.0/compiler.32267302_0

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\extras\demo_suite>deviceQuery
deviceQuery Starting…

CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: “NVIDIA L4-12A”
CUDA Driver Version / Runtime Version 12.4 / 12.0
CUDA Capability Major/Minor version number: 8.9
Total amount of global memory: 12288 MBytes (12884443136 bytes)
MapSMtoCores for SM 8.9 is undefined. Default to use 128 Cores/SM
MapSMtoCores for SM 8.9 is undefined. Default to use 128 Cores/SM
(58) Multiprocessors, (128) CUDA Cores/MP: 7424 CUDA Cores
GPU Max Clock rate: 2040 MHz (2.04 GHz)
Memory Clock rate: 6251 Mhz
Memory Bus Width: 192-bit
L2 Cache Size: 50331648 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers
Total amount of constant memory: zu bytes
Total amount of shared memory per block: zu bytes
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 1536
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
Maximum memory pitch: zu bytes
Texture alignment: zu bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model)
Device supports Unified Addressing (UVA): Yes
Device supports Compute Preemption: No
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 2 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 12.4, CUDA Runtime Version = 12.0, NumDevs = 1, Device0 = NVIDIA L4-12A
Result = PASS

However when try to run the other samples

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\extras\demo_suite>bandwidthTest
[CUDA Bandwidth Test] - Starting…
Running on…

** Device 0: NVIDIA L4-12A**
** Quick Mode**

CUDA error at C:\dvs\p4\build\sw\rel\gpgpu\toolkit\r12.0\demo_suite\bandwidthTest\bandwidthTest.cu:756 code=801(cudaErrorNotSupported) “cudaEventCreate(&start)”

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\extras\demo_suite>bandwidthTest
[CUDA Bandwidth Test] - Starting…
Running on…

** Device 0: NVIDIA L4-12A**
** Quick Mode**

CUDA error at C:\dvs\p4\build\sw\rel\gpgpu\toolkit\r12.0\demo_suite\bandwidthTest\bandwidthTest.cu:756 code=801(cudaErrorNotSupported) “cudaEventCreate(&start)”

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\extras\demo_suite>

Simple to explain. A-profile doesn’t support CUDA!!!
You need to use vWS profile if you want to use CUDA.

Hello , We were able to run bandwitdthtest and vectoradd command after this successfully

However for oceanFFT and randomFog Executable i am getting error

304 (CudaErrorOperatingSystem) cudaGrapchicsGLRegisterBuffer