CUDA Programming Software Development by johnpr I am trying to learn CUDA and want to know how to deal with nested loops and things I was wondering how you might code this in CUDA [CODE] float a[1024][1024], b[1024]; for (i=0; i<1024; i++) for (j=0; j<1024‐i; j++) b[i+j] += arbitrary_function(a[i][j]); [/CODE] Re: CUDA Programming Software Development by Phaelax That's basically it, it's still C++ code really. Since CUDA can be used with C#, C++, Python, Java, possibly others, it's really just an extension to provide access to the GPU through whatever language you're currently using. Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Micke_1 … addition of other specialized APIs in later GPU models. CUDA is widely becoming an industry standard and it is far… simpler to work with. Especially since the onset of CUDA computing level 5.0 and upwards allowing for "…CL frameworks which simplify coding much towards a style following CUDA but this may still be prone to some redundancy … CUDA and threads interaction Programming Software Development by deliezer … parallelizing it. The code is extremely parallelizable by both CUDA (at the lowest level) and regular threading at the…could do the vector operations in CUDA. But will the separate threads, all calling CUDA, interfere with one another? Will… they get mixed together? Does CUDA know how to handle requests coming in from many … CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim …are a number of very old threads on CUDA so I'm starting a new one rather…here have any experience setting up and developing in CUDA on a Windows platform? I know that there … that can be set up with Visual Studio/CUDA that uses the nvidia hardware but I am …quot; If anyone is aware of an implementation of CUDA that uses AMD/Radeon (and as a bonus,… Re: CUDA and threads interaction Programming Software Development by rubberman I would suggest that you read the CUDA documentation. Most nVidia GPU's have 100's of CUDA cores, so if done properly, this should not be a problem. How many threads are you going to run? Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim [OpenCL](https://www.amd.com/en-us/solutions/professional/hpc/opencl) comes close. It supports AMD/Radeon but not my particular hardware. I'll have to look into [CUDA-waste](https://code.google.com/archive/p/cuda-waste/). Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim >APL with CUDA support Well, of course. It only makes sense. APL was … emulator](http://hpcden.blogspot.ca/2012/06/how-to-run-cuda-in-emulation-mode.html). Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim … graphics processor. This will allow him to run the Nvidia/CUDA software under Visual Studio. I already run Visual Studio but… Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim … like gold. From what I can tell, ArrayFire will use CUDA or OpenCL (whichever is available/installed) and if neither, it… Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by rproffitt I've found the moment others make a joke about some esoteric thing, someone has made a project out of it. Unless I'm the one with the joke. Then I can't find it. Here you go. APL with CUDA upport. https://github.com/Co-dfns/Co-dfns Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim … setup are nowhere near as detailed and complete as for CUDA. There's catching up to be done there as well… CUDA C++ kernel Programming Software Development by kenny1989 Hi, I'm having trouble with getting my cuda program to work, apparently it is something to do with … Using Open MPI and CUDA in Windows 7 Programming Software Development by sijomathew I am trying to run a Simple CUDA program which queries the numbers of …as 0, ie, it is showing as No CUDA capable GPU is present in the node. The … capable GPUs. I have built the code with **CUDA 4.2**. When a normal MPI application is running,…***Is there any special settings required for running a CUDA application in Windows 7 using Open MPI v1.6.… how to make dll using CUDA C/C++ compiler? Programming Software Development by 9tontruck … to make a dll file that performs its tasks using CUDA library. Here is a simple version of my code: CUDADll….cu ` #include <iostream> #include "cuda.h" #include "cuda_runtime.h" #include "device_launch_parameters… Python Cuda Programming Software Development by albruno Is anyone having success with applying CUDA or multi-GPU processing with python? if so, could someone share a simple sample? Re: Python Cuda Programming Software Development by TrustyTony Simple googling braught me this among others: [url]http://developer-resource.blogspot.com/2008/06/python-and-cuda.html[/url] Re: Python Cuda Programming Software Development by 0x69 Also if you are interested not only in CUDA, but in GPU processing in Python,- you could look also here- GPU image processing- [url]http://www.cs.lth.se/home/Calle_Lejdfors/pygpu/[/url] General purpose GPU computing through OpenCL- [url]http://mathema.tician.de/software/pyopencl[/url] GPU Math programming openGL CUDA Programming Software Development by AkashL … in an unorthodox way or graphics card toolkits such as CUDA (by nVidia) which I guess is Graphics card specific. Does… GPU Math programming openGL CUDA Programming Game Development by AkashL … in an unorthodox way or graphics card toolkits such as CUDA (by nVidia) which I guess is Graphics card specific. Does… Re: GPU Math programming openGL CUDA Programming Game Development by 0x69 Indeed CUDA is only for nVidia cards. I suggest better using OpenCL. Also if these calculations is only for computing image transformations- you can try Pixel Shader. Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by rproffitt Sorry but only guilty by association. A programmer I know twiddles with bits in GPU land. His nod is back to AMD. https://gpuopen.com/professional-compute/ for example. Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim On reflection, I should have titled this thread **Cude-like GPU Programming on AMD Radeon**. Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim I have most of the infrastructure installed. Now it's a matter of configuring everything so that I can compile/run the sample code. Not having much luck with that. For one thing, I can no longer modify the IDE paths to add the ArrayFire include and lib folders. It seems I have to add the new include and lib to every new project I create. This is … Re: CUDA GPU Programming on AMD/Radeon Programming Software Development by Reverend Jim Tried to build an exe from one of the OpenCL sample projects. I got 258 errors. I was referred to the first AMD SDK documents which started with The AMDAPPSDKROOT variable must be set to: C:\Program Files\AMD APP SDK\ (for 32-bit systems) C:\Program Files (x86)\AMD APP SDK\ (for 64-bit systems) Anyone see anything immediately … Re: Does any one knows CUDA?? If yes then please help me Programming Software Development by jephthah …is a parallel computing architecture developed by NVIDIA. CUDA is the computing engine in NVIDIA graphics processing…industry standard programming languages. Programmers use 'C for CUDA' (C with NVIDIA extensions), compiled through a …to code algorithms for execution on the GPU. CUDA architecture shares a range of computational interfaces with… Re: How to pass this structure to cuda device? Programming Software Development by Moschops … collapsed, and a data. Copied the collapsed over to the CUDA device, and then make the data point to that one… on the CUDA device, and then copied the data over as well, so… now the CUDA memory contains a copy of the collapsed and a copy… Re: jpeg image compression in cuda Programming Software Development by sushilmunot [QUOTE=Salem;1106313]You mean this? [url]http://en.wikipedia.org/wiki/CUDA[/url] > pls help me as i'm stuck up in the beginning of the project But are you an otherwise competent C programmer on a regular Linux/Windows machine (say)?[/QUOTE] yeah u are right. i am a BE Comp student. And my BE project is JPEG compression in CUDA Re: jpeg image compression in cuda Programming Software Development by Salem You mean this? [url]http://en.wikipedia.org/wiki/CUDA[/url] > pls help me as i'm stuck up in the beginning of the project But are you an otherwise competent C programmer on a regular Linux/Windows machine (say)? Re: how to make dll using CUDA C/C++ compiler? Programming Software Development by triumphost A DLL is made for windows.. It is going to require you to specify a main.. int main() for consoles WinMain for Win32-GUI DLLMain for DLL's int WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) { switch(dwReason) { case DLL_PROCESS_ATTACH: { break; } case …