Skip to content

Commit 4fc3872

Browse files
ericcanosmuzaffar
authored andcommitted
Added multiple EIGEN_DEVICE_FUNC to avoid CUDA warnings
1 parent f0da8e4 commit 4fc3872

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ struct triangular_solve_matrix<EIGTYPE,Index,OnTheLeft,Mode,Conjugate,TriStorage
4848
IsZeroDiag = (Mode&ZeroDiag) ? 1 : 0, \
4949
conjA = ((TriStorageOrder==ColMajor) && Conjugate) ? 1 : 0 \
5050
}; \
51+
EIGEN_DEVICE_FUNC
5152
static void run( \
5253
Index size, Index otherSize, \
5354
const EIGTYPE* _tri, Index triStride, \
@@ -109,6 +110,7 @@ struct triangular_solve_matrix<EIGTYPE,Index,OnTheRight,Mode,Conjugate,TriStorag
109110
IsZeroDiag = (Mode&ZeroDiag) ? 1 : 0, \
110111
conjA = ((TriStorageOrder==ColMajor) && Conjugate) ? 1 : 0 \
111112
}; \
113+
EIGEN_DEVICE_FUNC
112114
static void run( \
113115
Index size, Index otherSize, \
114116
const EIGTYPE* _tri, Index triStride, \

0 commit comments

Comments
 (0)