def set_cuda_disabled():
 global cuda_available, cuda_warning_is_displayed
 cuda_available = False

def set_cuda_disabled ( ) : global cuda_available , cuda_warning_is_displayed cuda_available = False
function used to disable cuda .