How does one get the A100 GPU to show up on the DPU?
### [6.1.1. Configuring Operation Mode](https://docs.nvidia.com/doca/sdk/installation-guide-for-linux/index.html#configuring-operation-mode)
There are two modes that the NVIDIA Converged Accelerator may operate in:
* Standard mode (default) – the BlueField DPU and the GPU operate separately
* BlueField-X mode – the GPU is exposed to the DPU and is no longer visible on the host
In our case, DPU is running as “Embedded CPU”, according to Nvidia this means it is in “BlueField X Mode”
PCI_DOWNSTREAM_PORT_OWNER[4] EMBEDDED_CPU(15)
But the GPU does not show up.
Installed the Cuda drivers on a Bluefield 2 DPU. However, it does not see the A100 GPU on its PCIe bus.
The BlueField 2 shows :
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.```
The A100 DOES show up on the CPU Host:
```admin@GPUInit:~> nvidia-smi
Thu Feb 9 17:43:56 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA A100-PCI... Off | 00000000:17:00.0 Off | 0 |
| N/A 37C P0 38W / 250W | 0MiB / 40960MiB | 4% Default |
| | | Disabled |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Device #1:
----------
Device type: BlueField2
Name: MBF2H332A-AECO_Ax_Bx
Description: BlueField-2 P-Series DPU 25GbE Dual-Port SFP56; PCIe Gen4 x8; Crypto and Secure Boot Enabled; 16GB on-board DDR; 1GbE OOB management; HHHL
Device: /dev/mst/mt41686_pciconf0
Configurations: Next Boot
PCI_DOWNSTREAM_PORT_OWNER[4] EMBEDDED_CPU(15)
ubuntu@localhost:~$