Skip to content
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

Merged
merged 1 commit into from
Jul 9, 2018

Conversation

BenjaminW3
Copy link
Member

This makes sure that #537 does not break again and that I can start with #543.

cd "example/bufferCopy" && ./bufferCopy && cd ../..
cd "example/helloWorld" && ./helloWorld && cd ../..
cd "example/helloWorldLambda" && ./helloWorldLambda && cd ../..
cd "example/vectorAdd" && ./vectorAdd && cd ../..
Copy link
Member Author

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.

@BenjaminW3 BenjaminW3 force-pushed the topic-build-all branch 4 times, most recently from ffa3172 to d6f5def Compare July 6, 2018 11:12
@@ -496,7 +496,7 @@ namespace alpaka
exec::cuda::detail::cudaKernel<TDim, TIdx, TKernelFnObj, TArgs...><<<
gridDim,
blockDim,
blockSharedMemDynSizeBytes,
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

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.

Copy link
Member Author

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

@BenjaminW3
Copy link
Member Author

Anything missing for this to be approved?

Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@BenjaminW3 BenjaminW3 dismissed psychocoderHPC’s stale review July 9, 2018 17:40

Review comments have been incorporated.

@BenjaminW3 BenjaminW3 merged commit 62ae83d into alpaka-group:develop Jul 9, 2018
@BenjaminW3 BenjaminW3 deleted the topic-build-all branch July 9, 2018 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants