85

edits
# Changes

→COSINE TRANSFORMATION (A Discrete Cosine Transform for Real Data)

Here is the [https://people.sc.fsu.edu/~jburkardt/cpp_src/cosine_transform/cosine_transform.html source code] used.

The graph for the above code looks like:

[[File:host.jpg]]

To increase the efficiency of the program we transformed the '''cosine_transform_data''' function into a kernel name '''cosTransformKernel''' which offload the compute intense calculation of the program to the GPU.

The graph for the modified course between the device ~~vs ~~and the host ~~is the one with the second code~~looks like: [[File:deviceVsHost.jpg]]

=== Assignment 3 ===