Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.177.866 Times

NVCC cuda compiler wraper 1.0

  Date Added: July 21, 2013  |  Visits: 267

NVCC cuda compiler wraper

Report Broken Link
Printer Friendly Version


Product Homepage
Download (47 downloads)



This function NVCC is a wraper for the NVIDIA Cuda compiler NVCC.exe in combination with a Visual Studio compiler. After this Cuda files can be compiled into kernels If you call the code the first time, or with "nvcc -config": 1) It will try to locate the "The NVIDIA GPU Computing Toolkit", which can be downloaded from www.nvidia.com/object/cuda_get.html Typical Location : C:Program FilesNVIDIA GPU Computing ToolkitCUDAv3.2bin 2) It will try to locate the visual studio compiler Typical Location : C:Program Files (x86)Microsoft Visual Studio 9.0VCbin 3) It creates a file nvccbat.bat with the compiler information. After this configuration procedure, you can compile files with: nvcc(filename); or nvcc(options,filename) filename : A string with the filename, for example 'example.cu' options : NVCC Compiler options for example, nvcc(option1, option2, option3,filename) For help on NVCC config options type, "nvcc --help" Note! If the NVCC fails to locate the compiler you can try to write your own "nvccbat.bat" file in a text-editor, for example: echo off set PATH=C:Program Files (x86)Microsoft Visual Studio 9.0VCbin;PATH set PATH=C:Program FilesNVIDIA GPU Computing ToolkitCUDAv3.2bin;PATH call vcvars32.bat nvcc 1 2 3 4 5 6 7 8 9 1 Example, Configuration Locate Cuda and VS compiler nvcc -config Show the NVCC compiler options nvcc --help Test some input options nvcc --dryrun -ptx example.cu 2 Example, Locate Cuda and VS compiler nvcc -config Compile the code nvcc('example.cu'); It the same as : nvcc -ptx example.cu Make the kernel Kernel = parallel.gpu.CUDAKernel('example.ptx', 'example.cu'); We want to execute this kernel 100 times Kernel.ThreadBlockSize=100; We make an array with 100 random files Data=rand(100, 1, 'single'); DataCuda= gpuArray(Data); We will add the value 1 OneCuda = parallel.gpu.GPUArray.ones(1,1); Execute the kernel DataOneCuda = feval(Kernel, DataCuda, OneCuda); Get the data back DataOne=gather(DataOneCuda); Show the result figure, hold on; plot(Data,'b'); plot(DataOne,'r');

Requirements: No special requirements
Platforms: Matlab
Keyword: Compile Configuration Dryrun Input Kernel Locate Nvccexamplecu Vcvars Bat
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


NVCC CUDA COMPILER WRAPER RELATED
Utilities  -  Kernel Configuration Comparison 0.2
Kernel Configuration Comparison (kccmp) provides a GUI for comparing two Linux kernel ".config" files. It shows configuration variables with different values in a tabular format. It also shows configuration variables found in only one of the...
12.29 KB  
Development Tools  -  Kernel decomposition 1.0
This function does the decomposition of a separable nD kernel intoits 1D components, such that a convolution with each of thesecomponents yields the same result as a convolution with the full nDkernel, at a drastic reduction in computational...
10 KB  
Development Tools  -  Getusername 1.0
PURPOSE:This MATLAB mex function fetches the name of the current user. The function is only for windows operating system. It was tested for MATLAB release 12.1 running under windows 12.1COMPILE AND LINK AS A MATLAB MEX DLL:typemex getusername.con...
10 KB  
Development Tools  -  3D convolution in the FFT domain 1.0
Achieve a 3D convolution in the fourrier domain.% convolution3D_FFTdomain - Performs a fast 3D convolution between volumes using mutliplication in the Fourrier spaceSyntax: [outVol] = convolutionInFFTdomain(inVol,inKer)Inputs: inVol - input volume...
10 KB  
Multimedia  -  Separate Kernel in 1D kernels 1.0
This function SEPARATEKERNEL will separate ( do decomposition of ) any 2D, 3D or nD kernel into 1D kernels. Of course only a sub-set of Kernels are separable such as a Gaussian Kernel, but it will give approximations for non-separable kernels....
10 KB  
Utilities  -  FakeNES 0.5.7
FakeNES project is a portable, Open Source NES emulator which is written mostly in pure C, while using the Allegro library for multi-platform capabilities. Currently supported systems are Windows 9x/2000/Me/XP, 32-bit DOS, Linux, FreeBSD, QNX,...
296.96 KB  
Networking  -  123Linkit Affiliate Marketing Tool 1.2
Generate money easily from your blog by transforming keywords into affiliate links. No need to apply to affiliate networks or advertisers - we do it all for you. Just pick from our list of recommendations and you're good to go! Navigate to...
40.96 KB  
Utilities  -  ARAnyM 0.9.5 Beta
ARAnyM comes from Atari Running on Any Machine and is virtual machine software for running the Atari ST/TT/Falcon OS. It is a virtual machine software for running the Atari ST/TT/Falcon operating systems (TOS, FreeMiNT, MagiC and others) and...
1.4 MB  
Security Tools  -  AirStop Professional 2. 4. 2003
AirStop is a handy utility that allows you to manage laptop computers with wireless adapters, who must control connectivity in order to ensure network security. The product is designed as an enterprise-class solution for both organizations who...
3.4 MB  
Content Management  -  sifbuilder 1.13.16
sifbuilder is and Open Source program to create web sites. It lists, downloads and installs PHP components. Normally, these PHP components are Web Content Management cores, modules, blocks and themes. It may backup and restore a web site and...
 
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB