reverseArray_singleblock

所属分类:Windows编程
开发工具:Visual C++
文件大小:6KB
下载次数:1
上传日期:2017-06-24 06:58:58
上 传 者p-yang
说明:  反向阵列(单块)-- 给定指针d_a中的输入数组{a0,a1,...,an-1},将反向数组{an-1,an-2,...,a0}存储在指针d_b中 A: 从“reverseArray_singleblock”模板开始 B: 只有一个线程块启动,以反转一个大小的数组 N = numThreads = 256个元素 C: 第1部分(共1个):所有你需要做的是实现内核的“reverseArrayBlock()” D:每个线程将单个元件移动到相反的位置, 从d_a指标读取输入,在d_b指标中将输出存储在相反的位置
(Reverse array (single block) - the input array {a0, A1,..., an-1} in the given pointer d_a, the reverse array {an-1, An-2,..., a0}, stored in the pointer d_b A: starts with the "reverseArray_singleblock" template B: has only one thread block to start to reverse an array of sizes N = numThreads = 256 elements C: first parts (1 altogether): all you need to do is implement the kernel's reverseArrayBlock ()" D: each thread moves a single element in the opposite position, reads input from the d_a index, and outputs the output in the opposite position in the d_b index)

文件列表:
reverseArray_singleblock (0, 2017-06-24)
reverseArray_singleblock\reverseArray_singleblock.cu (4245, 2008-05-23)
reverseArray_singleblock\reverseArray_singleblock.sln (1326, 2008-01-24)
reverseArray_singleblock\reverseArray_singleblock.vcproj (20870, 2008-05-22)
reverseArray_singleblock\solutions (0, 2017-06-24)
reverseArray_singleblock\solutions\reverseArray_singleblock.cu (4365, 2008-05-23)

近期下载者

相关文件


收藏者