mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Marked a few functions as EIGEN_DEVICE_FUNC to enable the use of tensors in cuda kernels.
This commit is contained in:
@@ -275,7 +275,7 @@ struct DSizes : array<DenseIndex, NumDims> {
|
||||
}
|
||||
#endif
|
||||
|
||||
DSizes& operator = (const array<DenseIndex, NumDims>& other) {
|
||||
EIGEN_DEVICE_FUNC DSizes& operator = (const array<DenseIndex, NumDims>& other) {
|
||||
*static_cast<Base*>(this) = other;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user