Figure 3From: Heterogeneous computing architecture for fast detection of SNP-SNP interactionsCUDA code snippet. Variables threads and blocks store the thread configuration. Function cudaMemcpy feeds the data into the GPU and retrieves the results afterwards. Each of the preconfigured GPU threads independently executes the computeIGain function and scores the associated SNP pair.Back to article page