CUDAPolyGrid

From K-3D

Jump to: navigation, search

Template:CUDAPolyGrid

Description

The CUDAPolyGrid plugin is a GPGPU implementation of the PolyGrid plugin using the CUDA API by Nvidia[1].

See the CUDA_Plugin for more details on the CUDA plugins in general.

Results

The following image shows the speedup obtained for the CUDAPolyGrid plugin over the CPU implemetation.

Image:CUDAPolyGridSpeedup.png

Analysis

In order to better understand the performance of the CUDAPolyGrid plugin, the contributions of various sub-steps are plotted in the following image.

Image:CUDAPolyGridBreakdown.png

Here it is seen that the two operations that take the most time are the copy operations used to transfer the calculated data from the device. If these operations could be done away with then the device implementation would be up to 10 times faster.