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
torch-harmonics
Commits
7aa95ce5
Commit
7aa95ce5
authored
Jun 27, 2025
by
Mauro Bisson
Browse files
Fixed typo causing crash in the generic kernel path.
parent
73bfdc53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_harmonics/csrc/attention/attention_fwd_cuda.cu
torch_harmonics/csrc/attention/attention_fwd_cuda.cu
+1
-1
No files found.
torch_harmonics/csrc/attention/attention_fwd_cuda.cu
View file @
7aa95ce5
...
@@ -296,7 +296,7 @@ void launch_gen_attn_kernel(int batch_size,
...
@@ -296,7 +296,7 @@ void launch_gen_attn_kernel(int batch_size,
size_t
shsize
=
sizeof
(
FLOATV_T
)
*
nchans
*
block
.
y
;
size_t
shsize
=
sizeof
(
FLOATV_T
)
*
nchans
*
block
.
y
;
auto
_row_idx
=
col
_idx
.
packed_accessor32
<
int
,
1
,
torch
::
RestrictPtrTraits
>
();
auto
_row_idx
=
row
_idx
.
packed_accessor32
<
int
,
1
,
torch
::
RestrictPtrTraits
>
();
auto
_row_off
=
row_off
.
packed_accessor64
<
int64_t
,
1
,
torch
::
RestrictPtrTraits
>
();
auto
_row_off
=
row_off
.
packed_accessor64
<
int64_t
,
1
,
torch
::
RestrictPtrTraits
>
();
auto
_col_idx
=
col_idx
.
packed_accessor64
<
int64_t
,
1
,
torch
::
RestrictPtrTraits
>
();
auto
_col_idx
=
col_idx
.
packed_accessor64
<
int64_t
,
1
,
torch
::
RestrictPtrTraits
>
();
auto
_quad_weights
=
quad_weights
.
packed_accessor32
<
float
,
1
,
torch
::
RestrictPtrTraits
>
();
auto
_quad_weights
=
quad_weights
.
packed_accessor32
<
float
,
1
,
torch
::
RestrictPtrTraits
>
();
...
...
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