cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
e_ensafi
Explorer
Explorer
108 Views
Registered: ‎08-13-2020

Initializing Vector Types in C+ Kernel Constructor

It appears that a vector type such as v16int16, v32int16, etc. cannot be a member of a C++ kernel class, so even when "adf.h" is included, it is impossible for the class to contain these vector types or initialize them via the class constructor or a custom init() member function.  Either way, these types would have to be members declared in the class, which requires the types to be known by and visible by the host code.  Is there a way to accomplish this?

0 Kudos
Reply
1 Reply
florentw
Moderator
Moderator
61 Views
Registered: ‎11-09-2015

Hi @e_ensafi 

I do not know if it is possible. Could you share a quick test case showing the compilation error so I can do some tests on my side (to be honest my C++ is a bit rusty to create a quick test case )


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Reply