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

Add constructors for concatinating multiple arrays of TornadoNativeType instances #374

Closed mikepapadim closed 4 months ago

mikepapadim commented 4 months ago

Description

This pull request introduces a new constructor to TornadoNativeTypes, enabling the creation of a single instance by concatenating the contents of multiple array instances.

Backend/s tested

Mark the backends affected by this PR.

OS tested

Mark the OS where this PR is tested.

Did you check on FPGAs?

If it is applicable, check your changes on FPGAs.

How to test the new patch?

The functioality is already tests with the:

tornado-test -V --fast uk.ac.manchester.tornado.unittests.api.TestConcat

jjfumero commented 4 months ago

Great. i am merging this PR.