Commit 9a2f8f66 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Changing path to CUDA samples.

parent 70e47068
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ if( ${WITH_CUDA} )
        set( CMAKE_EXECUTABLE_SUFFIX "${executable_suffix_backup}" )
    endif()
    if( NOT CUDA_SAMPLES_DIR STREQUAL "none" )
      set( CUDA_SAMPLES_FLAGS "-I${CUDA_SAMPLES_DIR}/common/inc -DHAVE_CUDA_SAMPLES")
      set( CUDA_SAMPLES_FLAGS "-I${CUDA_SAMPLES_DIR} -DHAVE_CUDA_SAMPLES")
    endif()
endif()

+5 −5
Original line number Diff line number Diff line
@@ -217,8 +217,8 @@ inline __device__ void compareInclusive(Type &idata, Type &idata2, volatile Type
}

#include <assert.h>
#include <helper_cuda.h>
#include <../../6_Advanced/scan/scan_common.h>
#include <common/inc/helper_cuda.h>
#include <6_Advanced/scan/scan_common.h>

//All three kernels run 512 threads per workgroup
//Must be a power of two
@@ -654,9 +654,9 @@ size_t scanInclusiveLarge(


#include <thrust/scan.h>
#include <helper_cuda.h>
#include <helper_timer.h>
#include <../../6_Advanced/scan/scan_common.h>
#include <common/inc/helper_cuda.h>
#include <common/inc/helper_timer.h>
#include <6_Advanced/scan/scan_common.h>

extern __shared__ uint sMemory[];