beehive-lab / TornadoVM

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

Add support to create TornadoNativeArrays from a TornadoNativeArray slice #375

Closed mikepapadim closed 3 months ago

mikepapadim commented 3 months ago

Description

This PR adds support for the TornadoNativeArray types to create arrays from segment slice of an array.

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?

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