Skip to content

feat: add Builder::set_gpu_allocator - #140

Open
theHamsta wants to merge 1 commit into
rustnn:mainfrom
theHamsta:builder-gpuallocator
Open

feat: add Builder::set_gpu_allocator#140
theHamsta wants to merge 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>

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