File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
33# other details. No copyright assignment is required to contribute to Conduit.
44
5+ # Internal helper used by conduit_enable_execution_target() to switch a
6+ # consumer target's compilable source files to CUDA or HIP when this Conduit
7+ # build exposes device execution.
58function (_conduit_set_execution_language target language )
69 if (NOT TARGET ${target} )
710 message (FATAL_ERROR "conduit_enable_execution_target() target '${target} ' does not exist" )
@@ -47,6 +50,10 @@ function(_conduit_set_execution_language target language)
4750endfunction ()
4851
4952
53+ # Public helper for downstream CMake targets that want to use Conduit 's
54+ # execution support . It links the target to the execution -facing Conduit
55+ # target and , for CUDA /HIP builds , marks the target 's sources for device
56+ # compilation .
5057function (conduit_enable_execution_target )
5158 set (options )
5259 set (singleValueArgs TARGET SCOPE )
You can’t perform that action at this time.
0 commit comments