Click here to Skip to main content
15,891,473 members
Everything / Programming Languages / CUDA

CUDA

CUDA

Great Reads

by CodeProject
Version 2.6.2. Our fast, free, self-hosted Artificial Intelligence Server for any platform, any language
by Carlos Jiménez de Parga
A reusable Visual C++ framework for real-time volumetric cloud rendering, animation and morphing
by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
by Nick Kopp
This article builds upon the earlier High Performance Queries: GPU vs. PLINQ vs. LINQ and ports this to also support OpenCL devices and adds benchmarking so you can easily compare performance.

Latest Articles

by CodeProject
Version 2.6.2. Our fast, free, self-hosted Artificial Intelligence Server for any platform, any language
by Robert Mueller-Albrecht
Using the Intel® oneAPI Math Kernel Library SYCL API
by Ryan Scott White
CudaPAD is a PTX/SASS viewer for NVIDIA Cuda kernels and provides an on-the-fly view of your Cuda code.
by Carlos Jiménez de Parga
A reusable Visual C++ framework for real-time volumetric cloud rendering, animation and morphing

All Articles

Sort by Updated

CUDA 

27 Dec 2012 by abdo21080
can any one help me, how can multiply vector(1*N) and matrix(N*M) and store the result on new vector(1*M) using cuda c++.
6 Jan 2014 by Adam Wojnar
Simple .jp2/.j2k viewer using Kakadu executables demonstration pack for decoding
8 Aug 2011 by Adnan Boz
An entry level example of how to use NVIDIA CUDA technology to achieve better performance within C# with minimum possible amount of code
22 Sep 2011 by Adnan Boz
Massively Parallel Random Nunber Generation using CUDA C, Thrust and C#
28 Nov 2011 by Adnan Boz
In this blog post, I’m diving deeper into Thrust usage scenarios with a simple implementation of Monte Carlo Simulation.
14 Jan 2012 by Adnan Boz
How to set up Amazon EC2 Windows GPU instance for NVIDIA CUDA development
9 Mar 2012 by Adnan Boz
From spam filters to movie recommendation and face detection, nowadays machine learning algorithms are used everywhere to make the machine think for us. But, running these algorithms require high computation power and in most cases supercomputers. This is where the 500 core GPUs step in...
22 Jul 2016 by Afzaal Ahmad Zeeshan
In this post, I am going to walk you through creating your own central hub to allow your connected devices to authenticate people using facial recognition system.
13 Oct 2012 by Alesiani Marco
A Wave PDE simulation using GPGPU capabilities
24 Aug 2003 by Alex Mikunov
Runtime MSIL Code Instrumentation and .NET Metadata Extensions
12 Dec 2013 by amsainju
Can anyone please help me with how to use CUB library. I found out that it has a function that help me to radix sort on the basis of key value pair. But i am unable to use it even for a sample demo. so that later i can use it in my real project. my requiremement for demo is: ...
1 Oct 2008 by Andrew Kirillov
This article describes the implementation of parallel computations using plain C#.
20 Jan 2015 by Android on Intel
This tutorial shows how to use two powerful features of OpenCL™ 2.0: enqueue_kernel functions that allow you to enqueue kernels from the device and work_group_scan_exclusive_add and work_group_scan_inclusive_add
10 Dec 2018 by Apriorit Inc, Vadym Zhernovyi
The experience of improving Mask R-CNN performance six to ten times by applying TensorRT
9 Dec 2016 by Arthur V. Ratz
In this article, we'll demonstrate an approach the allows to increase the performance (up to 600%) of the code that implements the conventional distribution counting algorithm (DCA) using NVIDIA CUDA 8.0 Runtime API
2 May 2017 by Arthur V. Ratz
This article is a practical guide on using Intel® Threading Building Blocks (TBB) and OpenMP libraries for C++ based on the example of delivering parallel scalable code that implements Burrows-Wheeler Transformation (BWT) algorithm.
20 Sep 2015 by Bartlomiej Filipek
A little guide about modern OpenGL and why it gives us so much value.
13 Mar 2008 by billconan, kavinguy
This article describes the implementation of a neural network with CUDA.
26 Aug 2013 by Buddhi Chaturanga
I want to distinguish of these two technologies relevant to their technological aspects.What are major differences and usage of each one of them?Pros and Cons.How we can handle process through GPU using each one of them?How those technologies can be implemented for 3D game programming?
3 Apr 2022 by Carlos Jiménez de Parga
A reusable Visual C++ framework for real-time volumetric cloud rendering, animation and morphing
26 May 2014 by CatchExAs
How to make best use of current technology for computationally intensive applications?
1 Sep 2009 by ChaoJui
Image processing with a burst of performance from CUDA
10 Sep 2009 by ChaoJui
High performance and good quality of image blurring
23 Nov 2014 by Chethan Sharma1
'cudaDecodeGL.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Symbols loaded.'cudaDecodeGL.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Symbols loaded.'cudaDecodeGL.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ddraw.dll'. Symbols loaded.'cudaDecodeGL.exe' (Win32): Loaded...
29 Feb 2024 by CodeProject
Version 2.6.2. Our fast, free, self-hosted Artificial Intelligence Server for any platform, any language
3 Jan 2014 by CPallini
You might write a useful parallelized sorting algorithm.
16 Jun 2015 by CPallini
There is "no royal way to geometry" you have to know both C and CUDA, understand the algorithm and implement it. We can help on specific issuues. Happy coding!
8 Sep 2010 by Dan Buskirk
Understanding the organization of a Visual Studio project for CUDA development
30 Apr 2015 by Dave Kreskowiak
Start reading these[^]. You're really not going to get any help on this out of a forum environment because the discussions would be huge and nobody is going to write this code for you.
11 Mar 2024 by Dave Kreskowiak
Ask your question in the dedicated CodeProject.AI Discussions[^] forum.
9 Feb 2013 by Debdatta Basu
Examine the various approaches to implementing Radix sort on the GPU
17 Nov 2021 by Deepesh Mhatre 2021
I am trying to use Tensorflow object detection API,but the CUDNN version that I getting on colab is 8.0. and I want to use 8.1,so how do I upgrade CUDNN library on colab ? Below is the script I wrote ,but it does'nt seem to have any effect,what...
9 Jan 2013 by Denis Demidov
This article is an introduction to VexCL. VexCL is vector expression template library created for ease of C++ based OpenCL development.
30 Nov 2016 by Dino Konstantopoulos
Running Theano with an Nvidia 1070 GPU on Windows 10, with CUDA 8 and Visual Studio 2015
11 Oct 2021 by ericka jones
#include #include "image.h" __global__ void negative_kernal (unsigned char *pixel, unsigned char max_value, int n) { /******************/ /* your code here */ /******************/ /* calculate thread ID */ /*...
23 May 2023 by G0dm0de
Hi All Been working on this a while and have not been able to get my Yolo6.2 object detection to work on my gpu it insists on using cpu I have CodeProject installed on a ESX Windows VM and have passed through a 980TI. Its working with my Agent...
29 Jul 2013 by GLStarter
Dear Experts,I'm developing a CUDA application.But I'm getting a compilation error from nvcc."visual studio configuration file '(null)' could not be found why this error "I tried to compile the sample application provided in CUDA SDK. It also have the same errors.Please find the...
28 May 2011 by grilialex
Flow and tools to convert Xilinx bitstreams to C source code for programming FPGA/CPLD
9 Nov 2011 by grilialex
How-To Embed Xilinx FPGA Configuration Data to AVRILOS
18 Jul 2013 by Harshil Sharma
Hi. I'm currently CUDA C from Udacity and I'm stuck at Lesson 1. I've written this code for color to grey-scale conversion but its converting only a thin strip of pixels from top.Please tell me where does the fault lie: in the grid-size calculation or in the kernel itself.Here's the...
25 Oct 2010 by hax_
Introduction to the open-source hxGrid library for distributed computing. Main benefits of the library: cluster uses only idle time of Windows 2000/XP/Vista workstation (no dedicated workstations required); easy to use; free.
19 Oct 2011 by headmyshoulder
odeint v2 - Solving ordinary differential equations in C++
26 Jul 2012 by headmyshoulder, Denis Demidov
This article shows how ordinary differential equations can be solved with OpenCL. In detail it shows how odeint - a C++ library for ordinary differential equations - can be adapted to work with VexCL - a library for OpenCL. The resulting performance is studied on two examples.
25 Jul 2016 by Igor Gribanov
Performing linear static analysis on a tetrahedral mesh with a little bit of help from a third-party solver.
3 May 2017 by Intel
In this blog post, we highlight one particular class of low precision networks named binarized neural networks (BNNs), the fundamental concepts underlying this class, and introduce a Neon CPU and GPU implementation.
4 May 2017 by Intel
Theano is a Python library developed at the LISA lab to define, optimize, and evaluate mathematical expressions, including the ones with multi-dimensional arrays (numpy.ndarray)
18 Sep 2017 by Intel
TotalView includes a set of tools that provide scientific and academic developers with controlover processes and thread execution, along with deep visibility into program states and data.
16 May 2018 by Javier Luis Lopez
It is very hard to use the GPU because the user has to do memory segmentation and transfer, the use of local memory and in the most applications very low performance increase 10-20x is reached. In other hand using multithreads is easy and fast. It would be better use 1280 threads in parallel...
16 May 2018 by Javier Luis Lopez
The only one solution is to RUN C++ MULTITHREAD on GPU and completely ABANDON OPENCL or cuda forever. I am speaking about increase the performance of a simple PC with multithread by 41x And a improvement over a very complex opencl sw by 12x Of course a lot of modifications on HW and drivers...
21 May 2012 by Jeff B. Cromwell
Granger Causality in both R and C#.NET with open source libraries.
10 Nov 2020 by Jeremy C. Ong
A quick 5-minute introduction to porting a CUDA app to Data Parallel C++ (DPC++)
12 Oct 2012 by John Michael Hauck
These posts are meant to inspire you to enter into the world of graphics processor programming.
12 Oct 2012 by John Michael Hauck
These posts are meant to inspire you to enter into the world of graphics processor programming.
12 Oct 2012 by John Michael Hauck
These posts are meant to inspire you to enter into the world of graphics processor programming.
12 Oct 2012 by John Michael Hauck
These posts are meant to inspire you to enter into the world of graphics processor programming.
15 Jan 2013 by John Michael Hauck
CodeMash at the Kalahari Convention Center in Sandusky, OH, from January 8th through January 11th, 2013.
22 May 2013 by John Michael Hauck
It has never been easier for C# desktop developers to write code that takes advantage of the amazing computing performance of modern graphics cards. In this post I will share some techniques for solving a simple (but still interesting) image analysis problem. Source Code https://www.assembla.com/co
22 May 2013 by John Michael Hauck
Some ad hoc performance test results for a simple program written in C# as obtained from my current desktop computer: Dell Precision T3600, 16GB RAM, Intel Xeon E5-2665 0 @ 2.40GHz, NVidia GTX Titan.
18 May 2013 by John Michael Hauck
“Programming Massively Parallel Processors (second edition)” by Kirk and Hwu is a very good second book for those interested in getting started with CUDA.
23 Jul 2013 by John Michael Hauck
Writing massively parallel Windows software in C++ that takes full advantage of the processing power found in the video cards of today’s gaming computers.
22 Nov 2015 by John Michael Hauck
It has never been easier for C# desktop developers to write code that takes advantage of the amazing computing performance of modern graphics cards.
19 Feb 2015 by John Patel
When i try to call cuda function my code gives error that try to call cuda function my code gives error unresolved externals.
3 Dec 2022 by Jordan Reardon
CUDA error: an illegal memory access was encountered This is the error I get when trying to use GPU for object detections. What I have tried: Reinstalled everything multiple times. Windows, Blue Iris, Code Project, Cuda tool kit ect.
18 Dec 2013 by Joren Heit
A Hybrid Framework Code-Generator for CUDA
20 Feb 2015 by KarstenK
To understand CUDA you should consultate the documentation and try some sample code which I found in some seconds of research.
25 Apr 2015 by KarstenK
This syntax looks strange and the compilers says it isnt valid. You should check the CUDA documents to write working code.I found some solution with google. There is also a link for a tutorial. You should study it.
26 Jun 2016 by KarstenK
Peter is right. A good library looks for optimization before it starts the heavy calculating.And on matrices the skipping for 0 values is the primary optimization step in which the matrix gets simplified.Here is a fine article from CMSoft which discusses the whole issue and they call it...
16 May 2018 by KarstenK
It is depending on what you want to do. Even multithreading isnt optimal, when a lot of short threads are running because multithreading means also overhead in the CPU. Graphical output and low level computations are best done on GPU, computations also when the usage of the GPU leads to less...
14 Jun 2021 by KarstenK
I am not sure about the code I would write: findIndex(9, BB,AA, CC); else you must store the result and set some useful return value. You must compare each scalar of the array with the searched element value. I recommand that you work with...
11 May 2011 by Kerem Kat
Compile and run CUDA 3.2 projects from VS2010 in 9 easy steps
10 Jul 2012 by Kerem Kat
Process webcam images on the CPU and GPU with OpenCV, CUDA and C++ AMP
10 May 2010 by Kevin Drzycimski
Unroll loops at compile time, deduced by a template argument.
26 Jun 2016 by malang5
What could be the reason behind a cblas_sgemm call taking much less time for matrices with a large number of zeros as compared to the same cblas_sgemm call for dense matrices?I know gemv is designed for matrix-vector multiplication but why can't I use gemm for vector-matrix multiplication if...
17 Sep 2014 by Manikandan10
See this link:http://stackoverflow.com/questions/1090261/get-the-graphics-card-model[^]
2 Apr 2012 by manythreads
This sixth article in a series on portable multithreaded programming using OpenCL™ where Rob Farber discusses how to calculate data in OpenCL™ and render it with OpenGL within the same application.
21 Sep 2013 by Mark H Bishop
Tutorial: GPU computing with JCuda and Nsight (Eclipse)
11 Jul 2013 by Matthew Faithfull
Querysoft Open Runtime: Architecture compatibility aspect.
16 Feb 2016 by Max R McCarty
OWASP's #6 most vulnerable security risk has to do with keeping secrets secret.
13 Oct 2012 by Maxim Kartavenkov
Article describes how to make DirectShow Filters in .NET, it consist of BaseClasses and couple of samples
16 Jul 2012 by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
29 Aug 2016 by Mehdi Gholam
Google is your friend, also start here : GPU Computing Using CUDA, Eclipse, and Java with JCuda[^]jcuda.org - Java bindings for CUDA[^]jCUDA - Java library for CUDA Windows support - NVIDIA Developer Forums[^]
30 Apr 2015 by Member 10219452
hi all,how to implement a subset of the SQLite command processor directly on the GPU using CUDA.Net on windows OS.thank you.
2 Jan 2014 by Member 10501094
Hello,I am student on high school (not University) and technically i dont study programming but i can do my project on programming too. My teachers suggested me to make some useless sorting algorithms programs but that not really something i would like to do. I would like to create some...
16 Sep 2014 by Member 11087543
I need a quick brush up on how I can conditionally (pre-process) code and check to see what GPU is installed or the such. Why I need this is because I am writing a program that is expected to be very cross-platform and capable of having workarounds on mostly all modern hardware. For GPGPU...
24 Apr 2015 by Member 11640624
hi, how can i get rid of this error :IntelliSense: expected an expression ??it's bothering me alot :( #include "cuda.h"#include "cuda_runtime.h"#include "device_launch_parameters.h"#include __global__ void helloworldcuda_Kernel(){ printf("Hello world cuda"); ...
16 Jun 2015 by Member 11640624
hello , i am in need very much to convert this genetic c program to cuda ... :(http://www-cs-students.stanford.edu/~jl/Essays/geneticAlgorithm1.c[^]
26 Jun 2015 by Member 11794279
When processor is not enough
17 Feb 2016 by Member 12332702
I want to perform canny edge detection algorithm using cuda in java .For which i am using jcuda . I am confused with what to write in kernel call(.cu) and what in .java file. can anyone pl suggest me something.What I have tried:I had tried it in simple java using netbeans ide . but i am...
29 Aug 2016 by Member 12710061
How do I use Eclipse for JCUDA, its urgent?What I have tried:I can find this with linux and mac but I want this on windows machine.
20 Apr 2018 by Member 13789251
Bandwidth test - test memory bandwidth. Especially important for PCIE capability. Different MB has different PCIE capability. The CUDA adaptor performance is depend on the capability of PCIE. It could be the performance bottleneck. On the following programming drills, the number of clock...
20 Apr 2018 by Member 13789251
It is better you tell me about the errors not me tell you all the answers
12 May 2019 by Member 14172841
can anyone convert this c code into cuda?? // C code to find the Kronecker Product of two // matrices and stores it as matrix C #include // rowa and cola are no of rows and columns // of matrix A // rowb and colb are no of rows and columns // of matrix B const int cola = 2,...
13 Apr 2024 by Member 16044303
My question : Is it possible to have this configuration and the system work correctly ? Because my GPU is every time at 0% usage and I have test lot of driver, cuda and codeproject ai version and event my GPU is at 0% usage... I don't know if...
24 Sep 2023 by Member 16099679
Add your IDE to windows programs that turn on with gpu
12 May 2019 by Michael Haephrati
I tested your code with Visual Studio 2017 Ultimate, and there are no warnings or issues. 1. Create a Console application 2. Place the following code in your main .cpp file // Test1.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h"...
14 Sep 2016 by Mike Lanzetta
In this post, I'll walk you through how to get one of the most popular toolkits up and running on Windows, and run through and explain some fun examples.