1 // ============================================================================= 2 // === GPUQREngine/Include/GPUQREngine_Sentry.hpp ============================== 3 // ============================================================================= 4 // 5 // The SEntry struct is a tuple which is used to place the numeric values from 6 // the input problem into the dense representation of the fronts on the GPU. 7 // 8 // ============================================================================= 9 10 #ifndef GPUQRENGINE_SENTRY_HPP 11 #define GPUQRENGINE_SENTRY_HPP 12 13 struct SEntry 14 { 15 long findex; // Index into the front where the value belongs 16 double value; // The numeric value to be placed 17 SEntrySEntry18 SEntry() 19 { 20 findex = 0; 21 value = 0.0; 22 } 23 }; 24 25 #endif 26