Skip to content
Snippets Groups Projects
Commit 435d3ad2 authored by Eric Wait's avatar Eric Wait
Browse files

Remove optimization from error checking defines

parent 67f6b8c7
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@
#include <vector>
#include <cuda_occupancy.h>
#pragma optimize("",off)
template <typename T, typename U>
int getKernelMaxThreadsSharedMem(T func, U f, int threadLimit = 0)
{
......@@ -61,3 +63,5 @@ static void GPUAssert(cudaError_t err, const char *file, int line)
#endif // _DEBUG
void calcBlockThread(const Vec<size_t>& dims, size_t maxThreads, dim3 &blocks, dim3 &threads);
#pragma optimize("",on)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment