Skip to content

feat: add Builder::set_gpu_allocator - #140

Merged
theHamsta merged 1 commit into
rustnn:mainfrom
theHamsta:builder-gpuallocator
Aug 11, 2026
Merged

feat: add Builder::set_gpu_allocator#140
theHamsta merged 1 commit into
rustnn:mainfrom
theHamsta:builder-gpuallocator

Conversation

@theHamsta

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread trtx/src/builder.rs
}

/// See [IBuilder::setGpuAllocator]
pub fn set_gpu_allocator(&mut self, allocator: Pin<Box<GpuAllocator>>) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could also change that together with the runtime to Box<dyn AllocateGpu> or Arc<dyn AllocateGpu>

@theHamsta
theHamsta merged commit 4cfb657 into rustnn:main Aug 11, 2026
5 checks passed
@theHamsta
theHamsta deleted the builder-gpuallocator branch August 11, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant