Skip to content

[FEATURE] CUDA kernel early exit demo #459

@Forsworns

Description

@Forsworns

Is your feature request related to a problem? Please describe.
The LithOS report that they rewrite the CUDA kernel functions during runtime, so that they can achieve fine-grained GPU TPC sharing. Can bpftime be used to realize this feature?

Image

Describe the solution you'd like
Could you please provide a sample for this feature?
If bpftime has not supported this, I guess A new bpf program type on GPU, which looks like XDP to net packets, would be helpful to this end.

Describe alternatives you've considered
LithOS did not report their detailed method for code injection, guess it would be tools like nvbit...

Provide usage examples
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions