Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

WitnessVec is abstract over Allocator #25

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

saitima
Copy link
Member

@saitima saitima commented Dec 12, 2023

What ❔

WitnessVec is abstract over Allocator and GoodAllocator is 'static

Why ❔

In case witness gen and gpu-proving process are on the different machines we want to speedup data transfer between host and gpu device by placing data to the statically allocated pinned buffer. So it is useful to change definition of the WitnessVec and make it generic over custom allocator.

@saitima saitima requested a review from shamatar December 12, 2023 15:59
@saitima saitima changed the title WitnessVec is abstract over Allocator and GoodAllocator is 'static WitnessVec is abstract over Allocator Dec 12, 2023
@saitima saitima force-pushed the witness-vec-with-allocator branch from e4f5427 to 3bac890 Compare December 13, 2023 13:43
@saitima saitima merged commit 8b17adf into main Dec 13, 2023
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants