Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69462

How to get 16-byte aligned arrays in LabVIEW

$
0
0

Hi,

 

I'm working on a high performance application and we are hitting the limits of LabVIEW. I'm looking to use C for high performance kernels and use LabVIEW to orchestrate those.

 

As part of that I want to use AVX instructions which are more efficient if you can get data aligned on 16 byte boundaries however LabVIEW is aligned on 8 byte boundaries in 64 bit (based on clusters in http://zone.ni.com/reference/en-XX/help/371361P-01/lvconcepts/how_labview_stores_data_in_memory/. It says arrays are as well but doesn't say to what boundary).

 

So are there any tricks where I can generate an aligned array (to 16 bytes) that I can use in C and LabVIEW? I know I could allocate it in C and pass a pointer but it would be nice if I wasn't forced to use C everywhere.


Viewing all articles
Browse latest Browse all 69462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>