From 1121d11577ffde67ecb0dae3f76af81e5dd93886 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Sun, 29 Jan 2023 09:47:29 +0100 Subject: [PATCH] Really exiting --- src/cnn/train.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cnn/train.c b/src/cnn/train.c index ba84848..4fcc00b 100644 --- a/src/cnn/train.c +++ b/src/cnn/train.c @@ -98,6 +98,7 @@ void train(int dataset_type, char* images_file, char* labels_file, char* data_di bool compatibility = check_cuda_compatibility(); if (!compatibility) { printf("Exiting.\n"); + exit(1); } #endif srand(time(NULL));