搜索资源列表
Pthread-to-caculate-PI 多线程计算π
- 并行计算课程实验,多线程计算π,采用了加锁法以及数组暂存解决数据同步问题。-Experimental parallel computing course, multi-threaded computing π, using an array of temporary lock method and solve the data synchronization.
Threaded_Solution
- 多线程程序,以进行数据保护。程序打开一个text文件,线程按行从文件中读取数据同时计算每行的字母数为奇数和偶数的单词的个数,然后关闭文件,输出最后的结果。 -Multithreaded programs, for data protection. Program opens a text file, thread by line read from the file while in each of the line An odd number of letters and even the
Serial
- 串行程序。程序打开一个text文件,线程按行从文件中读取数据同时计算每行的字母数为奇数和偶数的单词的个数,然后关闭文件,输出最后的结果。 -Multithreaded programs, for data protection. Program opens a text file, thread by line read from the file while in each of the line An odd number of letters and even the number o
pi
- 使用pthread多线程计算圆周率,直接在linux环境下编译运行,线程数通过代码中N进行修改-Use pthread multi-threaded computing pi, directly in the linux environment, compile run threads through the code to modify N
XSudoku
- 数独并行算法 intel 多线程优化大赛参赛作品,快速求解数独-Sudoku intel multi-threaded parallel algorithm optimization contest entries Express Solving Sudoku
XAmicableNum
- 相亲数和亲和数的快速并行求解算法 intel 多线程优化大赛参赛作品-Blind date a few and the pro-and several fast parallel algorithm optimization of multi-threading intel Competition entries
openmp
- 基于OPENMP的并行算法,通过设置不同的线程数来验证多线程对并行计算速度提高的贡献-OPENMP-based parallel algorithm, by setting a different number of threads to validate the multi-threaded parallel computing speed of the contribution of
Prime
- JAVA多线程找质数。 输入为你想要创建的线程数和质数上限。 例: java PrimeSieve 10 3会利用三个线程输出10以下所有的质数-JAVA multi-threading to find prime numbers. Enter the number of threads you want to create the maximum number and quality. Example: java PrimeSieve 10 3 will make use of
a
- OpenMP简单的应用 输入计算线程数 重复循环执行一定数量的代码 记录起始时间和结束时间 时间相减求出代码执行时间-A simple OpenMP applications enter the calculation of the number of threads that repeat loop executes a certain amount of code to record the start time and end time subtraction to find the co
Pi
- 一个简单的计算Pi的Pthread多线程程序,提供给用户输入想开的线程数和N计算pi值。-A simple calculation of Pi Pthread multi-threaded program, available to user input like to open the number of threads and N calculate the value of pi.
pi
- pthread多线程实现π的计算,可以设置线程数与计算量-pthread multithreading π calculation, you can set the number of threads and computation
bingxing
- openMP与MPI混合编程,实现矩阵与矩阵相乘。 并且矩阵阶数可调整,进程数与线程数可调整。-OpenMP and MPI mixed programming, matrix and matrix multiplication. And the matrix order can be adjusted, the number of processes and threads can be adjusted.
OMP_TEST
- OpenMV小程序,在vs2013中采用OMP编程实现读取一个文件中的数据,文件中数据的第一行为数据个数,第二行为实际数据,数据间以空格隔开。判断第二行的数据中有多少个水仙花数。判断过程利用MPI采用多个线程进行。-Using OMP program implemented in vs2013 read data in a file, the first acts of the number of data files in the data, and the second actual beh
reverseArray_singleblock
- 反向阵列(单块)-- 给定指针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指标读取输入,
reverseArray_multiblock
- 反向阵列(multiblock): 给定指针d_a中的输入数组{a0,a1,...,an-1},将反向数组{an-1,an-2,...,a0}存储在指针d_b中 A: 从“reverseArray_multiblock”模板开始 B:多个256线程块启动,要颠倒大小为N,N / 256块的数组 第1部分:计算要启动的块数 第2部分:实现内核reverseArrayBlock 请注意,现在您必须同时进行计算 块内的相反位置 反向偏移到块的开始(Reverse array