c3sr / comm_scope

NUMA-aware multi-CPU multi-GPU data transfer benchmarks
https://github.com/c3sr/scope
Apache License 2.0
21 stars 3 forks source link

Allow comm_scope targets to build without being in scope #33

Closed cwpearson closed 4 years ago

cwpearson commented 4 years ago

For CI purposes, we'd like to be able to build the comm_scope object files without trying to link them into a scope binary.

If our CMakeLists.txt is the top-level one:

if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)

we can add some object targets to build. Let's also make a big warning print that you need to use scope to actually run anything

cwpearson commented 4 years ago

This is superseded by the change to using cwpearson/libscope