I did it and I have another problem and i face cuda out of memory.
GPU 0 : Intel(R) UHD Graapics - (GPU Memory: 7.9 and Shared GPU memory: 7.9)
GPU 1 : NVIDIA GeForce RTX 3050 Ti Laptop GPU - (Dedicated GPU memory: 4.0 and GPU Memory: 11.9 and Shared GPU memory: 7.9)
I ran a code and I faced this error:
DGLError: [00:55:04] C:\Users\Administrator\dgl-0.5\src\runtime\cuda\cuda_device_api.cc:119: Check failed: e == cudaSuccess || e == cudaErrorCudartUnloading: CUDA: out of memory
I searched and find out my codes run on cuda : 0 (I didn’t tell in codes)
I search and see: GPU CUDA compute capability major version: 0
I think my codes run on GPU 0
How can I run my codes on GPU 1?
How to install cuda on GPU 1?