This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1628 - Slow Tensor max reduction vs Matrix
Summary: Slow Tensor max reduction vs Matrix
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Tensor (show other bugs)
Version: 3.4 (development)
Hardware: x86 - 64-bit Linux
: Normal Performance Problem
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-21 23:24 UTC by william.tambellini
Modified: 2019-12-04 18:09 UTC (History)
4 users (show)



Attachments
bench_matrix_vs_tensor.cpp (6.47 KB, text/x-c++src)
2018-11-21 23:24 UTC, william.tambellini
no flags Details

Description william.tambellini 2018-11-21 23:24:44 UTC
Created attachment 898 [details]
bench_matrix_vs_tensor.cpp

Tensor maximum reduction seems slower than Eigen::Matrix maxCoeff :

Bench Eigen Matrix vs Tensor
GCC: 6.1.0
Eigen version: 3.3.90
Simd: SSE, SSE2
Eigen::nbThreads: 4
EIGEN_NO_DEBUG
EIGEN_VECTORIZE
EIGEN_HAS_OPENMP: 201511
omp_get_num_threads: 1

Maximum:
Repeat: 1000
           NRows           NCols         EMatrix         ETensor
            1024               1     0.000140889     0.000963703
            2048               1     0.000260602       0.0019206
            4096               1     0.000486688      0.00383406
            8192               1      0.00097643       0.0077253
           16384               1      0.00190814       0.0155693
           32768               1      0.00395113       0.0307479
            1024               2     0.000344763      0.00198935
            2048               2     0.000504151      0.00386684
            4096               2     0.000982226      0.00758934
            8192               2      0.00192742       0.0155706
           16384               2      0.00379141       0.0309431
           32768               2      0.00894989       0.0614831
            1024               3     0.000385924      0.00292994
            2048               3     0.000758534      0.00565539
            4096               3      0.00147188       0.0117033
            8192               3      0.00289409       0.0230684
           16384               3      0.00600971       0.0457924
           32768               3       0.0137405       0.0915717
Comment 1 Nobody 2019-12-04 18:09: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/1628.

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