9prady9 · GitHub

Merged

Merged

Conversation

Access to InteropManager has to go through device manager now.
Access to fft plan cacher singleton has to go through
device manager now.

pavanky

mVendorId = "Unkown, probably ARM";
cout<< "Unexpected vendor id" <<endl;
mVendorId = "Unkown";
std::cout<< "Unexpected vendor id" << std::endl;
bool isDoubleSupported(int device)
{
return true;
return DeviceManager::IS_DOUBLE_SUPPORTED;
flag = true;
}
return 0;
}

friend queue& getQueue(int device);

CPUInfo getCPUInfo() const;

IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES")
ENDIF()
: handle(0)
{
CUSPARSE_CHECK(cusparseCreate(&handle));
CUSPARSE_CHECK(cusparseSetStream(handle, cuda::getStream(cuda::getActiveDeviceId())));
}
}

}
}
};

}
{
cusparseHandles[device].reset(new cusparse::cusparseHandle());
}


std::unique_ptr<cusolver::cusolverDnHandle> cusolverHandles[MAX_DEVICES];

std::unique_ptr<cusparse::cusparseHandle> cusparseHandles[MAX_DEVICES];
Forgot to remove these files in earlier commit
Minimum required CUDA version currently is 7.0, hence the checks
are not needed any more.
This abbrievates the lengthy fn call getStream(getActiveDeviceId())
Add a memory manager stress test.
Also, fixes memory leaks in medfilt and morph unit tests
Disable memory management stress test for CPU backend.

@9prady9

@9prady9 9prady9 changed the title [WIP]: Thread safety Thread safety

May 1, 2017

@umar456

@9prady9

Closed

Read the original on github.com ↗