WaveCut's picture
Organize runtime and kernel code under src
44f9814 verified
Raw History Blame Contribute Delete
254 Bytes
#
# Get the GPU language from Torch.
#
function(get_gpu_lang OUT)
run_python_script(PYTHON_OUT
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/get_gpu_lang.py"
"Cannot detect GPU language")
set(${OUT} ${PYTHON_OUT} PARENT_SCOPE)
endfunction()