-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase math builtin test fragment size #975
base: main
Are you sure you want to change the base?
Increase math builtin test fragment size #975
Conversation
Currently the CI for the SYCL CTS is failing for DPC++ due to a timeout. This commit attempts to find a sweet-spot for the fragmentation size of math builtin test, balancing compilation resources and compilation time. Signed-off-by: Larsen, Steffen <[email protected]>
What does that CMake option do? |
The option is for controlling the number of math builtin test permutations being put into the same source-file. The intention is to find the sweet-spot for parallelizing the compilation. I would like to see this be a top-level option when configuring the CTS eventually, but for now the intention is to try and avoid the CI timing out. |
@@ -44,7 +44,7 @@ foreach(cat ${MATH_CAT}) | |||
FILE_PREFIX "math_builtin_${cat}" | |||
EXT "cpp" | |||
INPUT "math_builtin.template" | |||
EXTRA_ARGS -test ${cat} -marray true -fragment-size 150 | |||
EXTRA_ARGS -test ${cat} -marray true -fragment-size 230 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While you are here, you could factorized out this function or macro and add your PR comment as a code comment. 😄
Currently the CI for the SYCL CTS is failing for DPC++ due to a timeout. This commit attempts to find a sweet-spot for the fragmentation size of math builtin test, balancing compilation resources and compilation time.