Changes

Jump to: navigation, search

GPU610/DPS915 MCM Decrypt

411 bytes added, 18:19, 1 November 2013
Assignment 2
=== Assignment 2 ===
 
==== Kernel Attempts ====
 
So far I have made attempts to convert different pieces of compute heavy code into kernels in order to obtain the same results as the original code but none have been successful.
 
<source lang="cpp">
 
__global__ void testKernel(unsigned char *data, unsigned int max, unsigned int* pos) {
if(data[threadIdx.x] != max) {
data[threadIdx.x]++;
*pos=threadIdx.x;
//break;
}
}
 
</source>
 
=== Assignment 3 ===

Navigation menu