Skip to content

Instantly share code, notes, and snippets.

@crishoj
Created May 31, 2012 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crishoj/2841738 to your computer and use it in GitHub Desktop.
Save crishoj/2841738 to your computer and use it in GitHub Desktop.
SiftGPU Mac OS X makefile patch
--- makefile 2012-05-31 16:13:38.000000000 +0800
+++ makefile.new 2012-05-31 16:15:44.000000000 +0800
@@ -7,7 +7,7 @@
siftgpu_enable_opencl = 0
#------------------------------------------------------------------------------------------------
# enable CUDA-based SiftGPU?
-siftgpu_enable_cuda = 1
+siftgpu_enable_cuda = 0
CUDA_INSTALL_PATH = /usr/local/cuda
#change additional settings, like SM version here if it is not 1.0 (eg. -arch sm_13 for GTX280)
#siftgpu_cuda_options = -Xopencc -OPT:unroll_size=200000
@@ -15,7 +15,7 @@
#--------------------------------------------------------------------------------------------------
# enable SSE optimization for GL-based implementations
siftgpu_enable_sse = 1
-siftgpu_sse_options = -march=native -mfpmath=sse
+siftgpu_sse_options = -mfpmath=sse
#-------------------------------------------------------------------------------------------------
# timing function, 1 for clock, 0 for gettimeofday
siftgpu_timing_use_clock = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment