Skip to content

[Feature]: hip_vector_types accessor internal array #167

Open
@NB4444

Description

@NB4444

Suggestion Description

In 3cd3b3f it seems that for one of the two implementations .data was removed from hip_vector_types and instead make use of get_native_vector(). Would it be possible to make it directly accessible with the [] operator, instead of either using .data or get_native_vector() depending on the implementation?

For example like:

HIP_vector_base<unsigned int, 2U> vector;

int index; # either 0 or 1

unsigned int val = vector[index];

Operating System

No response

GPU

No response

ROCm Component

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions