Closed ichergui closed 1 month ago
Jetson Orin AGX
devkit
nvidia@tegra-ubuntu:~$ python3
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from cuda import cudart
>>> from cuda import cuda
>>> cuda_init_result, = cuda.cuInit(0)
>>> print(cuda_init_result)
CUresult.CUDA_SUCCESS
>>> device_count_result, num_devices = cuda.cuDeviceGetCount()
>>> print (device_count_result)
CUresult.CUDA_SUCCESS
>>> print (num_devices)
1
>>> property_result, properties = cudart.cudaGetDeviceProperties(0)
>>> print(property_result)
cudaError_t.cudaSuccess
>>> print("Is it Integrated GPU? :", properties.integrated)
Is it Integrated GPU? : 1
>>>
nvidia@tegra-ubuntu:~$
Closing this PR since this patch is needed only for OE.
This PR fixes #63
Kindly see the logs below