beehive-lab / TornadoVM

TornadoVM: A practical and efficient heterogeneous programming framework for managed languages
https://www.tornadovm.org
Apache License 2.0
1.18k stars 113 forks source link

Provide tests for the native component of the SPIR-V #202

Closed jjfumero closed 2 years ago

jjfumero commented 2 years ago

Describe the solution you'd like Tests for the native part of SPIR-V are missing.

From the OpenCL backend we have:

$  tornado uk.ac.manchester.tornado.drivers.opencl.tests.TestOpenCLJITCompiler
$  tornado uk.ac.manchester.tornado.drivers.opencl.tests.TestOpenCLTornadoCompiler

Additional context

These tests are similar to the ones found for OpenCL and the PTX backends to check the JIT compiler and the runtime.

There are also some tests for the native part and the Level Zero runtime system of TornadoVM in the package: uk.ac.manchester.tornado.drivers.spirv.tests