arrayfire / arrayfire/arrayfire

[Question] How to query the size of device RAM?

Open
#3,263 1 comment 0 reactions 1 assignee Claimed by @melonakos View on GitHub
Dominant language
C++
Stars
4.9k
Forks
555
Avg merge
1h 24m
Merged PRs (30d)
1

Description

Hello,

I'd like to dynamically use different sizes of a 3D tensor based on how much device memory (video ram, regular ram, fpga memory, etc) is available at one time.

There seems to be a few functions adjacent to this, `device_mem_info`, etc. Nothing seems to provide device memory size, which is what I need to know.

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.