This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1492 - Packet access for Replicate expressions
Summary: Packet access for Replicate expressions
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.4 (development)
Hardware: All All
: Normal Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-18 23:42 UTC by Jai Menon
Modified: 2019-12-04 17:19 UTC (History)
4 users (show)



Attachments

Description Jai Menon 2017-12-18 23:42:58 UTC
I'm new to Eigen and I'm trying to understand the semantics of Packet Access in the context of a simple Replicate expression that replicates a vector to (say) 4 columns.

Currently neither the Replicate expression, nor the unary evaluator for it enables packet access and I'm trying to see, for simple cases at least, if I could make some changes so that when I assign to a matrix, the underlying operations can get vectorized.

I tried a hack (which is definitely the wrong way to go about this) in CoreEvaluators.h:1242 where I propagate the PacketAccessBit on the Replicate's ArgType and that generates vectorized code but I'd like to figure out what the right way to do this is.
Comment 1 Jai Menon 2017-12-18 23:45:38 UTC
Also, wanted to add that I'm happy to do more investigation and/or implement this myself if it's just a missing feature if given some pointers.
Comment 2 Nobody 2019-12-04 17:19:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1492.

Note You need to log in before you can comment on or make changes to this bug.