Loading test/unit/linalg/gpu_test_util.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ cudaMemoryType PointerType(const ScalarType* ptr) { if (ret == cudaErrorInvalidValue) return cudaMemoryTypeHost; checkRC(ret); return attributes.memoryType; return attributes.type; } template <typename ScalarType> Loading Loading
test/unit/linalg/gpu_test_util.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ cudaMemoryType PointerType(const ScalarType* ptr) { if (ret == cudaErrorInvalidValue) return cudaMemoryTypeHost; checkRC(ret); return attributes.memoryType; return attributes.type; } template <typename ScalarType> Loading