Skip to content

Improve memory safety when writing to uninitialized buffers in C API #15370

@eliarbel

Description

@eliarbel

Description:

Based on @jakelishman analysis and explanation here: #15297 (comment), we should refactor the C API functions below to make writing data to uninitialized arrays safer.

pub unsafe extern "C" fn qk_transpile_layout_initial_layout(

pub unsafe extern "C" fn qk_transpile_layout_output_permutation(

pub unsafe extern "C" fn qk_transpile_layout_final_layout(

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions