include some requested modifications

pull/2394/head
Stefano Sinigardi 6 years ago
parent b3579380dc
commit 4ae778defc
  1. 2
      src/darkunistd.h
  2. 2
      src/getopt.c
  3. 5
      src/go.c
  4. 2
      src/im2col_kernels.cu
  5. 3
      src/utils.c

@ -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>

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

@ -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);
}

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

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

Loading…
Cancel
Save