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

Method checkrow_pointer

src/tests/test-blas3.cpp:122–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }// end
121
122 void checkrow_pointer(std::vector<clsparseIdx_t>& amdRowPtr)
123 {
124 for (clsparseIdx_t i = 0; i < amdRowPtr.size(); i++)
125 {
126 //ASSERT_EQ(amdRowPtr[i], this->C.index1_data()[i]);
127 //EXPECT_EQ(amdRowPtr[i], this->C.index1_data()[i]);
128 if (amdRowPtr[i] != this->C.index1_data()[i])
129 {
130 this->brow_pointerMisFlag = true;
131 break;
132 }
133 }
134 }// end
135
136 void checkInDense(std::vector<clsparseIdx_t>& amdRowPtr, std::vector<clsparseIdx_t>& amdcol_indices, std::vector<T>& amdVals)
137 {

Callers 1

TYPED_TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected