Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
DeepEP
Commits
564e3752
Unverified
Commit
564e3752
authored
Jun 09, 2025
by
Chenggang Zhao
Committed by
GitHub
Jun 09, 2025
Browse files
Fix `< PTX ISA 8.6` compatibility (#194)
parent
11a0b0e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/kernels/utils.cuh
csrc/kernels/utils.cuh
+1
-1
No files found.
csrc/kernels/utils.cuh
View file @
564e3752
...
@@ -309,7 +309,7 @@ __device__ __forceinline__ void tma_load_1d(const void* smem_ptr, const void* gm
...
@@ -309,7 +309,7 @@ __device__ __forceinline__ void tma_load_1d(const void* smem_ptr, const void* gm
auto
mbar_int_ptr
=
static_cast
<
uint32_t
>
(
__cvta_generic_to_shared
(
mbar_ptr
));
auto
mbar_int_ptr
=
static_cast
<
uint32_t
>
(
__cvta_generic_to_shared
(
mbar_ptr
));
auto
smem_int_ptr
=
static_cast
<
uint32_t
>
(
__cvta_generic_to_shared
(
smem_ptr
));
auto
smem_int_ptr
=
static_cast
<
uint32_t
>
(
__cvta_generic_to_shared
(
smem_ptr
));
const
auto
cache_hint
=
evict_first
?
kEvictFirst
:
kEvictNormal
;
const
auto
cache_hint
=
evict_first
?
kEvictFirst
:
kEvictNormal
;
asm
volatile
(
"cp.async.bulk.shared::c
ta
.global.mbarrier::complete_tx::bytes.L2::cache_hint [%0], [%1], %2, [%3], %4;
\n
"
asm
volatile
(
"cp.async.bulk.shared::c
luster
.global.mbarrier::complete_tx::bytes.L2::cache_hint [%0], [%1], %2, [%3], %4;
\n
"
::
"r"
(
smem_int_ptr
),
"l"
(
gmem_ptr
),
"r"
(
num_bytes
),
"r"
(
mbar_int_ptr
),
"l"
(
cache_hint
)
:
"memory"
);
::
"r"
(
smem_int_ptr
),
"l"
(
gmem_ptr
),
"r"
(
num_bytes
),
"r"
(
mbar_int_ptr
),
"l"
(
cache_hint
)
:
"memory"
);
}
}
...
...
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