beehive-lab / TornadoVM

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

Handle cases where the class field is a half float array #373

Closed mairooni closed 4 months ago

mairooni commented 4 months ago

Description

This PR handles the cases where a class field is an instance of a HalfFloatArray. This case was highlighted by the new Tensor implementation (PR #369). The patch is applied for all three backends.

Backend/s tested

Mark the backends affected by this PR.

OS tested

Mark the OS where this PR is tested.

How to test the new patch?

Run tornado-test -V uk.ac.manchester.tornado.unittests.tensors.TestTensorTypes