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
a6dabc70
Commit
a6dabc70
authored
Dec 01, 2022
by
Po-Yen, Chen
Browse files
Add option to enable max ILP scheduling strategy
parent
236bd148
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
CMakeLists.txt
+2
-0
library/src/tensor_operation_instance/gpu/CMakeLists.txt
library/src/tensor_operation_instance/gpu/CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
a6dabc70
...
...
@@ -29,6 +29,8 @@ if(USE_BITINT_EXTENSION_INT4)
message
(
"CK compiled with USE_BITINT_EXTENSION_INT4 set to
${
USE_BITINT_EXTENSION_INT4
}
"
)
endif
()
option
(
USE_MAX_ILP_SCHED_STRATEGY,
"Whether to enable scheduling strategy to maximize ILP for a single wave."
OFF
)
## Threads
set
(
THREADS_PREFER_PTHREAD_FLAG ON
)
find_package
(
Threads REQUIRED
)
...
...
library/src/tensor_operation_instance/gpu/CMakeLists.txt
View file @
a6dabc70
...
...
@@ -3,6 +3,10 @@ function(add_instance_library INSTANCE_NAME)
add_library
(
${
INSTANCE_NAME
}
OBJECT
${
ARGN
}
)
target_compile_features
(
${
INSTANCE_NAME
}
PUBLIC
)
set_target_properties
(
${
INSTANCE_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
if
(
USE_MAX_ILP_SCHED_STRATEGY
)
set_target_properties
(
${
INSTANCE_NAME
}
PROPERTIES COMPILE_FLAGS
"-mllvm -amdgpu-enable-max-ilp-scheduling-strategy"
)
endif
(
USE_MAX_ILP_SCHED_STRATEGY
)
clang_tidy_check
(
${
INSTANCE_NAME
}
)
endfunction
(
add_instance_library INSTANCE_NAME
)
...
...
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