Skip to content

Restrict memory available to an executing kernel #3

@abrown

Description

@abrown

The current API has functions (i.e. create_buffer, read_buffer, write_buffer) that define what memory should be accessible to a parallel kernel. The current API also allows any function in a module to become a parallel function; there is no mechanism in the API for restricting the chosen kernel from attempting to access addresses of the Wasm module's memory that may be outside the passed buffers (e.g. i32.load (i32.const 0x42)). The proof-of-concept implementation makes no effort to do this kind of restriction for kernels that run on the CPU; GPU kernels are a different story. This issue is for discussing various proposals to the question: how do we restrict the memory accessible to the kernel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions