Skip to content

Commit 7398f9f

Browse files
author
zhangyue
committed
Revert "fix(nvidia): revert std::forward workaround for NVCC 12.6 bug"
This reverts commit bf9e4b1.
1 parent 85ef359 commit 7398f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class Operator : public OperatorBase {
145145
const Tensor&, Args...>) {
146146
op_ptr = std::make_unique<
147147
Operator<Key, kDev, kImplementationIndex>>(
148-
tensor, args...);
148+
tensor, std::forward<Args>(args)...);
149149
} else {
150150
assert(false &&
151151
"operator is not implemented for this device and "

0 commit comments

Comments
 (0)