Skip to content

[Offload] Name-based kernel loading #75356

Open
@e-kayrakli

Description

@e-kayrakli

In implementing Chapel's GPU support, we have attempted to use libomptarget (soon-to-be llvm/offload?) in the past.

The main stumbling block was the expectation that the binary will contain a table of generated kernels. Our compiler currently doesn't do that, and our runtime rely on name based look up through the driver APIs such as cuModuleGetFunction/hipModuleGetFunction.

It'd be great if llvm/offload provide an interface for those functions.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions