No documentation for the available memory types to Declare
See original GitHub issueSearching the docs shows there’s no listing of what the possible memory types are (other than ‘BIT’) when doing Program.declare(..., ..., memory_type='???')
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to fix out of memory errors by increasing available memory
Created with Sketch. This document discusses increasing memory to address PermGen and Heap space errors. Follow the links above to assess root ...
Read more >Invalid CPU or memory value specified - AWS Documentation
When registering a task definition using the Amazon ECS API or AWS CLI, if you specify an invalid cpu or memory value, the...
Read more >Memory Types - ESP32 - — ESP-IDF Programming Guide ...
ESP-IDF distinguishes between instruction memory bus (IRAM, IROM, RTC FAST memory) and data memory bus (DRAM, DROM). Instruction memory is executable, and can ......
Read more >Manage your app's memory - Android Developers
Monitor available memory and memory usage. Release memory in response to events; Check how much memory you should use.
Read more >Memory management - JavaScript - MDN Web Docs
In order to not bother the programmer with allocations, JavaScript will automatically allocate memory when values are initially declared.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@notmgsk,
I agree especially considering there are so few options that we could list them on a single line.
On that note, we should add type annotations for
memory_type
or otherwise change the documentation in the “Details of Updates to Quil” section to readmemory_type
: one of'REAL'
,'BIT'
,'OCTET'
, or'INTEGER'
to emphasize that these
memory_type
options have to be strings or else you get a traceback:docs, docstrings, input validation, … all good and necessary things!