Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
lietorch
Commits
1a8ddcca
Commit
1a8ddcca
authored
May 14, 2025
by
fengzch-das
Browse files
fix:编译器无法正确解析模板成员函数
parent
c9f7f675
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lietorch/src/lietorch_gpu.cu
lietorch/src/lietorch_gpu.cu
+1
-1
No files found.
lietorch/src/lietorch_gpu.cu
View file @
1a8ddcca
...
...
@@ -215,7 +215,7 @@ __global__ void act_backward_kernel(const scalar_t* grad, const scalar_t* X_ptr,
Point
p
(
p_ptr
+
i
*
3
);
PointGrad
dq
(
grad
+
i
*
3
);
Eigen
::
Map
<
PointGrad
>
(
dp
+
i
*
3
)
=
dq
*
X
.
Matrix4x4
().
block
<
3
,
3
>
(
0
,
0
);
Eigen
::
Map
<
PointGrad
>
(
dp
+
i
*
3
)
=
dq
*
X
.
Matrix4x4
().
template
block
<
3
,
3
>(
0
,
0
);
Eigen
::
Map
<
Grad
>
(
dX
+
i
*
Group
::
N
)
=
dq
*
Group
::
act_jacobian
(
X
*
p
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment