include some requested modifications

This commit is contained in:
Stefano Sinigardi
2019-02-18 00:09:08 +01:00
parent b3579380dc
commit 4ae778defc
5 changed files with 23 additions and 21 deletions

View File

@ -9,7 +9,7 @@
#include <Winsock2.h>
#include <direct.h> /* for _getcwd() and _chdir() */
#include <getopt.h>
#include "getopt.h"
#include <io.h>
#include <process.h> /* for getpid() and the exec..() family */
#include <stdlib.h>

View File

@ -1,5 +1,5 @@
#ifdef _WIN32
#include <getopt.h>
#include "getopt.h"
#ifdef __cplusplus
extern "C" {

View File

@ -10,7 +10,8 @@
int inverted = 1;
int noi = 1;
static const unsigned int n_ind = 5;
//static const unsigned int n_ind = 5;
#define n_ind 5
typedef struct {
char **data;
@ -841,5 +842,3 @@ void run_go(int argc, char **argv)
else if(0==strcmp(argv[2], "test")) test_go(cfg, weights, multi);
else if(0==strcmp(argv[2], "engine")) engine_go(cfg, weights, multi);
}

View File

@ -1,4 +1,4 @@
#include <cuda_runtime.h>
#include <cuda_runtime.h>
#include <curand.h>
#include <cublas_v2.h>
#include <stdint.h>

View File

@ -13,6 +13,9 @@
#include <sys/time.h>
#endif
#ifndef USE_CMAKE_LIBS
#pragma warning(disable: 4996)
#endif
double what_time_is_it_now()
{