Skip to content

Make gpu-poly module more memory safe #12

@andrewmilson

Description

@andrewmilson

Currently miniSTARK passes around *mut pointers when sharing memory addresses with GPU code in a rather unsafe manner. Would be great if this memory was wrapped in some way to allow rust to enforce memory safety. Will be good to keep the memory challenges with #2 in mind with this work. A couple of the problematic functions to understand the issue:

  • buffer_no_copy
  • buffer_mut_no_copy

In addition to these changes any types being sent for processing to the gpu should be represented in memory as you would expect from C or C++.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededrefactorCan be written more cleanly

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions