Skip to content

Commit

Permalink
Added preprocessor flags for mac and windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
adampolyak committed Aug 18, 2014
1 parent ad90c9e commit 119c2a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cudaconv3/src/img_acts.cu
Expand Up @@ -4,6 +4,10 @@

#include "../include/cudaconv2.cuh"

#if defined(_WIN64) || defined(_WIN32) || defined(__APPLE__)
#define uint unsigned int
#endif

/*
* Block size: 16x16.
* blockIdx.x determines case in batches of 16*imgsPerThread.
Expand Down
2 changes: 1 addition & 1 deletion nvmatrix/include/nvmatrix_kernels.cuh
Expand Up @@ -19,7 +19,7 @@

#include <curand_kernel.h>

#if defined(_WIN64) || defined(_WIN32)
#if defined(_WIN64) || defined(_WIN32) || defined(__APPLE__)
#define uint unsigned int
#endif

Expand Down

0 comments on commit 119c2a1

Please sign in to comment.