-
Notifications
You must be signed in to change notification settings - Fork 75
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
Build all tests and examples from the main CMakeLists.txt and use ctest for test execution #562
Conversation
cd "example/bufferCopy" && ./bufferCopy && cd ../.. | ||
cd "example/helloWorld" && ./helloWorld && cd ../.. | ||
cd "example/helloWorldLambda" && ./helloWorldLambda && cd ../.. | ||
cd "example/vectorAdd" && ./vectorAdd && cd ../.. |
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.
I will add the examples to the tests in a separate PR.
ffa3172
to
d6f5def
Compare
@@ -496,7 +496,7 @@ namespace alpaka | |||
exec::cuda::detail::cudaKernel<TDim, TIdx, TKernelFnObj, TArgs...><<< | |||
gridDim, | |||
blockDim, | |||
blockSharedMemDynSizeBytes, |
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.
Is this a bugfix? If so we should move it to a separate PR because this change not fits to the description.
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.
This fixes a warning that only occurs when ALPAKA_DEBUG==2 and was an error with Werror. I could create a new PR with the fix if you want.
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.
That would be nice because this is much easier to back-port.
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.
The fix has been merged separately
d6f5def
to
b42ff81
Compare
…st for test execution
b42ff81
to
2d99d7a
Compare
Anything missing for this to be approved? |
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.
Great!
Review comments have been incorporated.
This makes sure that #537 does not break again and that I can start with #543.