MasterJH5574 opened a new pull request, #16398:
URL: https://github.com/apache/tvm/pull/16398

   This PR introduces a new attribute for device backends: 
`total_global_memory`. This attributes returns the total available global 
memory on a device in bytes.
   
   Tested locally on CUDA/ROCm/Metal/OpenCL:
   ```python
   >>> import tvm
   >>> tvm.metal().total_global_memory
   154618822656
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to