Unverified Commit 8c262ed2 authored by Joseph Huber's avatar Joseph Huber Committed by GitHub
Browse files

[NVPTX] Add ELF flags for Nvidia cubin files (#75624)

Summary:
Nvidia uses ELF as its file format for cubin files. This patch adds
support to allow detecting the architecture using the ELF flags only.
This will be used in the offloading runtime in the future.

These values are completely undocumented. They were determined by
manually modifying the ELF header of the cubin and checking the output
of the `nvisasm` tool.
parent 35a003c2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment