资源简介
cudpp是gpgpu下面的一个开源工程,集合了最基本的算法,比如排序之类的,当然电脑上面必须有支持cuda的GPU
做GPGPU的强烈建议看一下。。
另外,强烈鄙视资源分不是0的资源上传者!!
代码片段和文件信息
/*
* Copyright 1993-2006 NVIDIA Corporation. All rights reserved.
*
* NOTICE TO USER:
*
* This source code is subject to NVIDIA ownership rights under U.S. and
* international Copyright laws.
*
* This software and the information contained herein is PROPRIETARY and
* CONFIDENTIAL to NVIDIA and is being provided under the terms and
* conditions of a Non-Disclosure Agreement. Any reproduction or
* disclosure to any third party without the express written consent of
* NVIDIA is prohibited.
*
* NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE
* CODE FOR ANY PURPOSE. IT IS PROVIDED “AS IS“ WITHOUT EXPRESS OR
* IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOURCE CODE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY NONINFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
* IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL INDIRECT INCIDENTAL
* OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE DATA OR PROFITS WHETHER IN AN ACTION OF CONTRACT NEGLIGENCE
* OR OTHER TORTIOUS ACTION ARISING OUT OF OR IN CONNECTION WITH THE USE
* OR PERFORMANCE OF THIS SOURCE CODE.
*
* U.S. Government End Users. This source code is a “commercial item“ as
* that term is defined at 48 C.F.R. 2.101 (OCT 1995) consisting of
* “commercial computer software“ and “commercial computer software
* documentation“ as such terms are used in 48 C.F.R. 12.212 (SEPT 1995)
* and is provided to the U.S. Government only as a commercial end item.
* Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through
* 227.7202-4 (JUNE 1995) all U.S. Government End Users acquire the
* source code with only those rights set forth herein.
*/
#include
#include
#include
////////////////////////////////////////////////////////////////////////////////
// export C interface
extern “C“
unsigned int compactGold(float* reference const float* idata
const unsigned int *isValid const unsigned int len
const CUDPPConfiguration &config);
////////////////////////////////////////////////////////////////////////////////
//! Compute reference data set for exclusive sum-scan
//! Each element is the sum of the elements before it in the array.
//! @param reference reference data computed but preallocated
//! @param idata const input data as provided to device
//! @param len number of elements in reference / idata
////////////////////////////////////////////////////////////////////////////////
unsigned int
compactGold( float* reference const float* idata
const unsigned int *isValid const unsigned int len
const CUDPPConfiguration & config)
{
unsigned int count = 0;
unsigned int numValidElements = 0;
if (config.options & CUDPP_OPTION_BACKWARD)
{
// first have to count total valid elements
- 上一篇:plc电梯运行梯形图
- 下一篇:bmp图片转yuv420
相关资源
- 《CUDA C编程权威指南》的源码
- matconvnet的gpu编译版本(cuda7.5)
- NVAPI_R410-developer
- nvdia cuda c best practices guide
- CUDA && GPU 数据传输测试
- The CUDA Handbook: A Comprehensive Guide to
- CUDA by Example英文原书+自带源代码
- CUDA_C_Programming_Guide中文版
- GPU计算高级优化技术精简手册
- meanFilter.zip
- CUDA并行排序(1)——整数
- CUDA和OPENCL遥感影像正射校正
- cuda 权威指南习题答案及coda
- 解决GTX970、980等不能用CUDA转码的问题
- cuda 常用dll库
- CUDA学习资料
- CUDA for Engineers An Introduction to High Per
- OpenCL in Action.pdf
- CUDA并行程序设计:GPU编程指南
- cuda8.0-windows10-64 桌面版离线安装包
- 高性能CUDA应用设计与开发方法与最佳
- Programming Massively Parallel Processors_ A H
- opencv3.4+opencv_contrib3.4+cuda10.0+tbb+win10
- cudnn-11.0-windows-x64-v8.0.2.39.zip
- cudnn-10.0-windows10-x64-v7.6.5.32.zip
- cudnn-9.1-windows7-x64-v7.1.3.zip
- CUDA并行程序设计 GPU编程指南-中文扫
- cudnn-10.0-windows10-x64-v7.6.0.64.rar
- cublas64_92.dll
- Cuda C 编程指南程润伟
评论
共有 条评论