- Serial: [`mallinfo2`](https://www.man7.org/linux/man-pages/man3/mallinfo.3.html)? - CUDA: [cudaMemGetInfo](https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__MEM.html#group__CUDA__MEM_1g808f555540d0143a331cc42aa98835c0) - HIP: [hipMemGetInfo](https://rocm.docs.amd.com/projects/HIP/en/latest/reference/hip_runtime_api/modules/memory_management.html#_CPPv413hipMemGetInfoP6size_tP6size_t) - SYCL: [`ext::intel::info::device::free_memory`](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_intel_device_info.md#free-global-memory) - openCL: No universal support. - E.g., see [this issue](https://github.com/intel/compute-runtime/issues/810) on the Intel compute-runtime repo