- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to pass and return a C++ parameters type defined at interface? Such as eigen’s MatrixXd type. Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MoonHasSevenColor,
Thanks for reaching out.
We found an external repo (not owned by Intel) that may assist your use cases to use Eigen in SGX projects, make sure the listed files below are all visible during compilation.
- shim.hpp,
- Eigen
- emmintrin.h
- mmintrin.h
- mm_malloc.h
- xmmintrin.h
Meanwhile, you can check the Pass-by-value and Pass-by-reference to pass the Eigen C++ parameters. Here is also a reference for Writing Functions Taking Eigen Types as Parameters.
Hope that the information provided is useful for you. Please let us know if you have any questions.
Regards,
Aznie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MoonHasSevenColor,
This thread will no longer be monitored since we have provided information. If you need any additional information from Intel, please submit a new question.
Regards,
Aznie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your nice help and reply, I would try the methods

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page