Skip to content

Languages

amdkila edited this page Jun 15, 2020 · 8 revisions

Tensile Benchmarking is written in Python3

The benchmarking module, Tensile.py is written in Python3. The Python scripts generate kernels, build/object files and all C/C++ files used for benchmarking. Please note that Tensile is not compatible with Python2.

Tensile Library

The Tensile API, Tensile.h, is confined to C89 so that it will be usable by most software. The code behind the API is allowed to be c++14.

Device Languages

The device languages Tensile supports for GPU kernels is

  • HIP (hip-clang & hcc)
  • AMD GCN Assembly
    • gfx803
    • gfx900
    • gfx906
    • gfx908
    • gfx1010
  • OpenCL 1.2 (untested)