Skip to content

Tool to compile .cl files #38

@alalek

Description

@alalek

Question or feature request.

Is there tool (build target) in this repository which can be used to compile .cl files into ISA.

At least it is necessary to simplify "git bisect" work (no need to search compatible runtime and recompile it too).

Currently found these tools:

  • iga64 - assembler tool (doesn't know about .cl)
  • GenX_IR - it knows some H/W platforms, but no any public guides how to use it.

Need tool similar to cloc (renamed ocloc), but without requirement of compatible OpenCL runtime?

Expected input for such tool:

  • .cl kernel source
  • OpenCL build options
  • H/W platform options / config files (Gen9 for Skylake)

Expected output format:

  • low-level, binary/text form compatible with iga64 tool

Also please consider adding some basic subset of tests for IGC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions