Skip to content

Allow testing specific blocking sizes

Submitted by Benoit Jacob

Assigned to Nobody

Link to original bugzilla bug (#958)

Description

Created attachment 549
Allow testing specific blocking sizes

This is only a debugging/testing patch. Feel free to reject it :) I'm sure you already have a better version of it on your hard drive!

I need to be able to control blocking sizes at runtime for benchmarks that test all different blocking sizes. My typical benchmark code does:

int testk, testm, testn;
#define EIGEN_TEST_SPECIFIC_BLOCKING_SIZES
#define EIGEN_TEST_SPECIFIC_BLOCKING_SIZE_K testk
#define EIGEN_TEST_SPECIFIC_BLOCKING_SIZE_M testm
#define EIGEN_TEST_SPECIFIC_BLOCKING_SIZE_N testn
#include <Eigen/Core>

Patch 549, "Allow testing specific blocking sizes":
control-blocking-sizes

Blocking

#937

Edited by Eigen Bugzilla