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

Function getStorageMode

src/library/fft_binary_lookup.cpp:251–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249};
250
251static enum BinaryRepresentation getStorageMode(char * data)
252{
253 if (data[0] == 'C' &&
254 data[1] == 'L' &&
255 data[2] == 'B' &&
256 data[3] == '\0')
257 return LSB;
258
259 if (data[0] == 'B' &&
260 data[1] == 'L' &&
261 data[2] == 'C' &&
262 data[3] == '\0')
263 return MSB;
264
265 return UNKNOWN;
266}
267
268void FFTBinaryLookup::finalizeVariant()
269{

Callers 1

loadHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected