Monday 24 February 2014

Streams vs Device Functions

Map
Sequential Time
Device functions
Streams
32x32
1
8.341714
21.75491
64x64
3.8
16.37582
47.9231
128x128
16.2
32.52248
133.1749
256x256
68.01
65.31222
409.7781
512x512
277.07
140.5209
19658.81
1024x1024
1146.38
399.7442
144157.2
2048x2048
4954.72
1745.794
462554.9


Cuda streams are a sequence of operations that execute in issue-order on the GPU. CUDA operations in different streams may run concurrently. 

Device functions are functions which can be called from within kernel code and are executed on the GPU, they cannot be called from the host. 


No comments:

Post a Comment