Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Custom
python/*.bt

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- ---------------------
v1.8.0
--------------------- -->
## v1.8.0 - 21-03-2025

### Added

- Support for counting total allocated memory via `Session::getInstance().totalAllocatedBytes()`


<!-- ---------------------
v1.7.2
--------------------- -->
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,4 +395,14 @@ N.project(vectors);
std::cout << vectors << "\n";
```

## 5. Other

We can get the total allocated bytes (on the GPU) with
```c++
size_t allocatedBytes =
Session::getInstance().totalAllocatedBytes();
```



## Happy number crunching!
Loading