MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / getStorageMode

Function getStorageMode

src/library/blas/generic/binary_lookup.cc:198–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196};
197
198static enum BinaryRepresentation getStorageMode(char * data)
199{
200 if (data[0] == 'C' &&
201 data[1] == 'L' &&
202 data[2] == 'B' &&
203 data[3] == '\0')
204 return LSB;
205
206 if (data[0] == 'B' &&
207 data[1] == 'L' &&
208 data[2] == 'C' &&
209 data[3] == '\0')
210 return MSB;
211
212 return UNKNOWN;
213}
214
215void BinaryLookup::finalizeVariant()
216{

Callers 1

loadHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected