This bugzilla service is closed. All entries have been migrated to
Bug 1254 - Adding dummy constructor in file "TensorDeviceThreadPool.h" for struct "ThreadPoolDevice"
Summary: Adding dummy constructor in file "TensorDeviceThreadPool.h" for struct "Threa...
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Tensor (show other bugs)
Version: 3.3 (current stable)
Hardware: All All
: Normal Feature Request
Assignee: Nobody
Depends on:
Reported: 2016-07-15 16:54 UTC by Matthias Peschke
Modified: 2019-12-04 15:59 UTC (History)
5 users (show)


Description Matthias Peschke 2016-07-15 16:54:42 UTC
With the current implementation, it is not possible to declare an instance of struct ThreadPoolDevice and initialize the instance later to a specific value.
This feature would allow to write wrapper classes, which have a member variable of type ThreadPoolDevice.

A simple dummy constructor would help:
ThreadPoolDevice() {};

Example wrapper class:
template<class device_type>
class TensorDevice
    TensorDevice<device_type>() {};
    device_type get() const;
    device_type device;
Comment 1 Nobody 2019-12-04 15:59:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to'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:

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