MCPcopy Create free account
hub / github.com/clMathLibraries/clSPARSE / validateMemObject

Function validateMemObject

src/library/internal/clsparse-validate.cpp:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38clsparseStatus
39validateMemObject(clsparseScalarPrivate &scalar, size_t required_size)
40{
41#if !defined(NDEBUG) && (BUILD_CLVERSION >= 200)
42 std::cout << "Don't know how to validate SVM void* buffer" << std::endl;
43 return clsparseSuccess;
44#else
45 return validateMemObject(scalar.value, required_size);
46#endif
47}
48
49clsparseStatus
50validateMemObject(cldenseVector &vector, size_t required_size)

Callers 4

clsparseScsr2denseFunction · 0.85
clsparseDcsr2denseFunction · 0.85

Calls 1

to_string_commaFunction · 0.85

Tested by

no test coverage detected