Rebasing the previous Python demo pull request #44 #117

Open
onyalcin wants to merge 6 commits from onyalcin/master into master
Showing only changes of commit d07db44bcb - Show all commits
+7 -1
View File
@@ -6,7 +6,7 @@
#include <fstream>
#include <iomanip>
#include <stdlib.h>
#include <malloc.h>
#include "cuda.h"
#include "cuda_runtime_api.h"
#include <cublas_v2.h>
@@ -101,6 +101,12 @@ typedef enum {
ERROR_CUDNNvsTENSORRT = 8
} resultError_t;
void *xmalloc(size_t size);
void *xcalloc(size_t nmemb, size_t size);
void malloc_error();
void calloc_error();
void realloc_error();
void printCenteredTitle(const char *title, char fill, int dim = 30);
bool fileExist(const char *fname);
void downloadWeightsifDoNotExist(const std::string& input_bin, const std::string& test_folder, const std::string& weights_url);