Changes

Jump to: navigation, search

BetaT

656 bytes removed, 17:46, 12 April 2017
CALCULATE WAVE KERNEL
}
Array 1 Array 2==== HOW THE ALGORITHM WORKS ====
xxxxx xxxxx xxxxx xxxxx 1. We begin with 2 Arrays
xxxxx xxxxx [[File:2Arrazs.png]]
xxxxx xxxxx
xxxxx xxxxx 2. The first column of the First array is initialized by the INITIALIZE Kernel.
Upon initialization the 1st column of the first array has its variables set depending on a condition, this will be represented by (o)'s below[[File:Initialize.png]]
Array 1 Array 23. The second array copies the values from the first column of the First array
oxxxx xxxxx oxxxx xxxxx [[File:Copy1stColumn.png]]
oxxxx xxxxx 4. The First array copies a single value from the Second array
oxxxx xxxxx [[File:2ndCall.png]]
oxxxx xxxxx 5. The remaining values for the 2nd column of the First array are calculated through the Second array as follows.
The next kernel below will execute the following calucations. 1st[[File: Array 2 will copy the first column of Array 1.3ndCall.This will be represented by (o)'s on Array2png]]
Array 1 Array 2 oxxxx oxxxx oxxxx oxxxx  oxxxx oxxxx  oxxxx oxxxx  oxxxx oxxxx   2nd: Array 1 will set the values in its [0,1] dimension->(marked by 2) to the values in Array 2's [1,0] dimension (marked by a 2)6Array 1 Array 2 o2xxx oxxxx oxxxx 2xxxx  oxxxx oxxxx  oxxxx oxxxx  oxxxx oxxxx   3rd: Next Array 1 will calculate its next The 2nd column (marked by of the 3) by performing a calculation as shown above on Array 2's first First array is now copied into the 2nd column (marked by 3 ).  Array 1 Array 2 o3xxx 3xxxx o3xxx 3xxxx  o3xxx 3xxxx  o3xxx 3xxxx  o3xxx 3xxxx   This process will loop until it has reached end of the Second arrayand the cycle is repeated until finished.
[[File:LAstReset.png]]
== CPU VS GPU Loop Comparisons Only==
212
edits

Navigation menu