Changes

Jump to: navigation, search

BetaT

7 bytes added, 18:18, 12 April 2017
OPTIMIZED CALCULATE WAVE KERNEL
}
===== OPTIMIZED CALCULATE WAVE KERNEL CHANGES=====
The code below has been altered to remove the (j) variable and combined the two (if) statements into one, so that we can reduce (Thread Divergence), as well as move the (- c*dt/dx* ) recurring instruction set, and place it into a variable called total, so that each thread is NOT performing the same operation which causes a decrease in performance.
212
edits

Navigation menu