Research Article

Accelerating Multiple Compound Comparison Using LINGO-Based Load-Balancing Strategies on Multi-GPUs

Pseudocode 1

Pseudocodes of LINGO constructor, LINGO number, LINGO score, LINGO magnitude, and LINGO length.
LINGO constructor
struct  Lingo
  Score;
int  Length;
int  Magnitude;
  Number;
  index;
int  sumOfScore;
int  sumOfNum;
LINGO Number
for (int  ; ; ++)
  ;
  int   .Length;
  for (int  ; ; ++)
    for (int  ; ; ++)
     if (Db[x].Score == .Score[z])
      Db[x].Number[y]++;
LINGO Score
  for (int  ; ; ++)
   int  .Length;
   for (int  ; ; ++)
    for (int  ; ; ++)
       .Score (((int)Db_smile )    pow (10, ));
LINGO Magnitude
for (int  , ; ; ++)
   .Length;
   for (int  ; .Length; ++)
  . .Number ;
LINGO Length
for (int  ; ; ++)
   int  ;