-
Notifications
You must be signed in to change notification settings - Fork 372
[STF] Extract standalone __places project from __stf/places #8189
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
Changes from 24 commits
27e0d61
a12219d
314272f
5bbf017
70621b3
3d1cce4
5d24f4f
8a26d99
da0fa7f
7428b46
54165bd
bebe47c
25f136c
fd18602
c639331
176c5da
834d8ed
39617fd
252ff2a
81f2f8f
fc605dd
5436009
091c5fa
7aa9667
d8027b1
8a7cfe0
006b00d
548d057
ae8ee8a
09fc48f
bd8e780
feab5e7
8b740f6
74bc895
984cd43
51917d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Configures a target for the Places framework. | ||
| function(cudax_places_configure_target target_name) | ||
| target_link_libraries( | ||
| ${target_name} | ||
| PRIVATE # | ||
| CUDA::cudart_static | ||
| CUDA::cuda_driver | ||
| ) | ||
|
|
||
| target_compile_options( | ||
| ${target_name} | ||
| PRIVATE | ||
| $<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:--extended-lambda> | ||
| $<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:--expt-relaxed-constexpr> | ||
| ) | ||
|
|
||
| set_target_properties( | ||
| ${target_name} | ||
| PROPERTIES # | ||
| CUDA_RUNTIME_LIBRARY Static | ||
| CUDA_SEPARABLE_COMPILATION ON | ||
| ) | ||
| endfunction() |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // This file is autogenerated by configuring places_header_unittest.in.cu. | ||
caugonnet marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| // clang-format off | ||
| #define UNITTESTED_FILE "@source@" | ||
|
|
||
| #include <cuda/experimental/__stf/utility/unittest.cuh> | ||
|
|
||
| #include <@source@> | ||
| //clang-format on | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,9 +25,9 @@ | |
| # pragma system_header | ||
| #endif // no system header | ||
|
|
||
| #include <cuda/experimental/__stf/places/data_place_interface.cuh> | ||
| #include <cuda/experimental/__stf/places/exec/green_ctx_view.cuh> | ||
| #include <cuda/experimental/__stf/places/places.cuh> | ||
| #include <cuda/experimental/__places/data_place_interface.cuh> | ||
| #include <cuda/experimental/__places/exec/green_ctx_view.cuh> | ||
| #include <cuda/experimental/__places/places.cuh> | ||
| #include <cuda/experimental/__stf/utility/hash.cuh> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see code in
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to decide where to move such utilities ... |
||
|
|
||
| // Used only for unit tests, not in the actual implementation | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.