mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
adding EIGEN_DEVICE_FUNC to the recently added TensorContractionKernel constructor. Not having the EIGEN_DEVICE_FUNC attribute on it was leading to compiler errors when compiling Eigen in the ROCm/HIP path
This commit is contained in:
parent
629ddebd15
commit
66a885b61e
@ -244,6 +244,7 @@ template <typename ResScalar, typename LhsScalar, typename RhsScalar,
|
||||
typename StorageIndex, typename OutputMapper, typename LhsMapper,
|
||||
typename RhsMapper>
|
||||
struct TensorContractionKernel {
|
||||
EIGEN_DEVICE_FUNC
|
||||
TensorContractionKernel(StorageIndex m, StorageIndex k, StorageIndex n,
|
||||
StorageIndex bm, StorageIndex bk, StorageIndex bn)
|
||||
: m(m), k(k), n(n), bm(bm), bk(bk), bn(bn) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user