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
norm
vllm
Commits
7477e8f3
Commit
7477e8f3
authored
Mar 23, 2024
by
zhuwenwen
Browse files
add hip_bf16.h
parent
e00b0a19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
csrc/cache_kernels.cu
csrc/cache_kernels.cu
+4
-4
No files found.
csrc/cache_kernels.cu
View file @
7477e8f3
...
...
@@ -13,10 +13,10 @@
#include <map>
#include <vector>
//
#ifdef USE_ROCM
//
#include <hip/hip_bf16.h>
//
typedef __hip_bfloat16 __nv_bfloat16;
//
#endif
#ifdef USE_ROCM
#include <hip/hip_bf16.h>
typedef
__hip_bfloat16
__nv_bfloat16
;
#endif
void
swap_blocks
(
torch
::
Tensor
&
src
,
...
...
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