File size: 254 Bytes
3ea3da7
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#
# 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()