-
cuda语言实现向量相加
本程序是cuda语言实现向量相加的例子,通过这个例子可以学习cuda的基本语法格式,
- 2023-07-27 23:25:04下载
- 积分:1
-
cuda实现矩阵求逆
此程序包的矩阵求逆函数基于 CUDA 的实现包含对称的积极明确逆矩阵使用 GPU。用法,请参阅 testspd.cpp 中的示例。此外,一般块矩阵求逆通过高斯(pivotting) 没有消除。请参阅 testge.cpp 例如使用。注: GE 可能无法在单精度足够稳定。请参阅生成文件更改为双精度。
- 2022-07-16 13:09:40下载
- 积分:1
-
读取参数文件
#include
#define NUMBER 4
void main( )
{ int i=1;
float f0,dt,dx,dz;
int mx,mz,ntmax,pml,sou_x,sou_z,rec_start,rec_end,rec_int,rec_depth;
char shotID[5],record_pp[30],vp_name[30],rou_name[30],mig_name[30],mig_pyt_name[30],mig_udlf_name[40],shuoming[30];
FILE *fp,*f; /*&不合法变量*/
printf("** This program is to show the block file input & output**
");
fp=fopen(
- 2022-09-05 20:35:03下载
- 积分:1
-
利用CUDA平台计算矩阵乘法的GPU编程
本程序为简易的CUDA编程,两个程序都是计算矩阵的乘法。其中Matrix1和Matrix2的区别是Matrix2使用了shared memory。每个程序都使用了串行和并行两种方式计算乘法,最后将并行的运算结果与串行运算结果对比,验证计算的正确性。同时,程序中利用CUDA计时模块统计了并行运算的耗时。因此可以得出使用shared memory后改善的运行时间。
- 2022-12-18 17:50:03下载
- 积分:1
-
目标对象颜色检测
This simple and somewhat silly application demonstrates using concurrent collections with WPF. The collections are wrapped with observable facades, such that multiple threads may modify the collections concurrently, and those updates are safely propagated to UI controls.
- 2023-08-31 18:10:03下载
- 积分:1
-
示波器代码
示波器的源代码,效果不错的,dlo1w1dsc hhjhsdf sfdssd fsdhsdfhsdj eewrew erewrewr dsfefh dsdewh
- 2022-07-07 20:07:57下载
- 积分:1
-
spark apriori算法实现代码
应用背景
Apriori算法是一种最有影响的挖掘布尔关联规则频繁项集的算法。其核心是基于两阶段频集思想的递推算法。该关联规则在分类上属于单维、单层、布尔关联规则。在这里,所有支持度大于最小支持度的项集称为频繁项集,简称频集。
关键技术频繁项集挖掘采用spark实现的并行化挖掘算法。并行的apriori算法采用scala编写,并行的apriori采用java编写。里面会有较多函数使编程的内容。
- 2022-02-02 20:25:06下载
- 积分:1
-
PLINQ is Coming Up Soon (PFX)
介绍
- 2022-10-06 18:20:02下载
- 积分:1
-
metis-3.0 partitioning unstructured graphs, partitioning meshes, and computing fill-reducing order
Copyright 1997, Regents of the University of Minnesota.
METIS was written by George Karypis (karypis@cs.umn.edu)
Introduction ------------------------------------------------------------
METIS is a software package for partitioning unstructured graphs, partitioning
meshes, and computing fill-reducing orderings of sparse matrices.
The documentation of METIS can be found in the Doc/manual.ps file.
METIS is written in ANSI C and should compile on Unix systems that have
a ANSI C compiler. It has been extensively tested on the following
architectures:
AIX
SunOS
Solaris
IRIX
Unicos
Linux
HP-UX
FreeBSD
- 2022-02-20 19:44:54下载
- 积分:1
-
Blend Images
A demo of very simple image manipulation using a Parallel.For loop. The application allows the user to load up two images and blends them together into a single, new image.
- 2022-07-27 17:53:54下载
- 积分:1