搜索资源列表
计算1000以内的素数
- 这是一个可以计算1000以内的素数算法 觉得还不错-This a 1000 can be calculated within the prime number algorithm also feel good
MPI-Nbody
- MPI编程-Nbody问题并行程序(计算1000个天体的移动,天体数据由文件sample_input.in读入,结果输出到文件result1000.data)-MPI Programming-Nbody Parallel (1000 calculated the movement of celestial bodies, Objects sample_input.in data from the document read into, Results output to a file resul
l2007425234648
- 这是一道很基本的程序,一方面希望它对初学遗传算法的兄弟们有用(包含了遗传算法实现的大部分步骤,而且有详细的注释),另一方面旨在抛砖引玉, 在下浅见: 1、遗传算法在进行大规模计算时,数据交换量大,速度确实是一个瓶颈,就如这道程序,在种群规模50,进化代数1000时运行需要40秒左右(cpu:duron 1G),当然,小弟编程能力弱,望各位大侠指教啊,或帮我修改一下这道程序 -This is a very basic procedure, While they want it begi
jc
- 可以算到1000以上的阶乘,通过循环来进行计算-More than can be counted to the factorial of 1000, through the cycle to be calculated
1000!
- 计算1000以内的阶乘,可能可以更大的,算了就知道-Calculation of less than 1000 factorial
sushudayin
- 用概率算法打印10~1000内素数,并与确定性算法比较出错概率-The probabilistic algorithms Print 10 to 1000 within a prime number, and error probability compared with the deterministic algorithm
omp
- openMP实现1000的方阵做20次幂运算-openMP achieve 20 times 1000 square exponentiation
pthread
- pthread实现1000方阵的20次幂运算-pthread achieve 20 times 1000 square exponentiation
MPI-Program
- 使用MPI编程并行计算一个100*100*100的立方体的温度渗透1000次的最大温度差结果-MPI parallel programming is used to calculate a 100* 100* 100 cube temperature penetrating 1000 times the maximum temperature difference of the results
myFirstKernel
- 启动内核--从“myFirstKernel”模板开始。 Part1:使用指针d_a为内核的结果分配设备内存。 Part2:使用1-D的1-D网格来配置和启动内核 线程块。 Part3:让每个线程设置一个d_a的元素,如下所示: idx = blockIdx.x * blockDim.x + threadIdx.x d_a [idx] = 1000 * blockIdx.x + threadIdx.x Part4:将d_a中的结果复制回主机指针h_a。 Part5:验证结果是否正