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
gaoqiong
composable_kernel
Commits
56d827be
Commit
56d827be
authored
Apr 06, 2021
by
Jing Zhang
Browse files
fixed buffer_load
parent
316fcc3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
composable_kernel/include/utility/config.amd.hpp.in
composable_kernel/include/utility/config.amd.hpp.in
+5
-5
No files found.
composable_kernel/include/utility/config.amd.hpp.in
View file @
56d827be
...
...
@@ -11,9 +11,9 @@
#define CK_DEVICE_BACKEND_AMD 1
// GPU ID
#define CK_AMD_GPU_GFX906
1
#define CK_AMD_GPU_GFX906
0
#define CK_AMD_GPU_GFX908 0
#define CK_AMD_GPU_GFX1030
0
#define CK_AMD_GPU_GFX1030
1
// HIP version
#ifndef CK_HIP_VERSION_FLAT
...
...
@@ -29,9 +29,9 @@
#endif
// buffer resourse
#if
defined(
CK_AMD_GPU_GFX906
)
||
defined(
CK_AMD_GPU_GFX908
)
#if CK_AMD_GPU_GFX906 || CK_AMD_GPU_GFX908
#define CK_BUFFER_RESOURCE_3RD_DWORD 0x00020000
#elif
defined(
CK_AMD_GPU_GFX1030
)
#elif CK_AMD_GPU_GFX1030
#define CK_BUFFER_RESOURCE_3RD_DWORD 0x31014000
#endif
...
...
@@ -53,7 +53,7 @@
// AMD buffer addressing
#ifndef CK_USE_AMD_BUFFER_ADDRESSING
#define CK_USE_AMD_BUFFER_ADDRESSING
0
#define CK_USE_AMD_BUFFER_ADDRESSING
1
#endif
// only gfx908 support native floating point atomic add
...
...
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