+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: Cuda programming  (Read 21024 times)

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Cuda programming
« on: 05 Jun 2007, 03:27:33 pm »
Is this of any use nowadays to Seti@Home:

"The CUFFT Library
=================

The Fast Fourier Transform (FFT) is a divide-and-conquer algorithm
for efficiently computing discrete Fourier transforms of complex or
real-valued data sets. The FFT is one of the most important and widely
used numerical algorithms, with applications that include
computational physics and general signal processing. This document
describes CUFFT, the "cuda" (Compute-Unified Device Architecture) FFT library. The
CUFFT library provides a simple interface for computing parallel Fast
Fourier Transforms on an NVIDIA GPU. This allows users to leverage
the floating-point power and parallelism of the GPU without having to
develop a custom, GPU-based FFT implementation.

FFT libraries typically vary in terms of supported transform sizes and
data types. For example, some libraries only implement Radix-2 FFTs,
restricting the transform size to a power of two, while other
implementations support arbitrary transform sizes. This version of the
CUFFT library supports the following features:

- 1D, 2D, and 3D transforms of complex and real-valued data.
- Batch execution for doing multiple 1D transforms in parallel.
- 2D and 3D transform sizes in the range [2, 16384] in any dimension.
- 1D transform sizes up to 8 million elements.
- In-place and Out-of-place transforms for real and complex data."

//Vyper

Offline Josef W. Segur

  • Janitor o' the Board
  • Knight who says 'Ni!'
  • *****
  • Posts: 3112
Re: Cuda programming
« Reply #1 on: 05 Jun 2007, 04:50:32 pm »
Quote
- 1D transform sizes up to 8 million elements.

That's good, it now covers the size range needed. In earlier versions 1d had the same limitation as the 2d and 3d transforms.
                                                                                            Joe

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Re: Cuda programming
« Reply #2 on: 07 Jun 2007, 03:24:05 am »
Thats REALLY splendid news, now the only thing we need is someone that can develop a Cuda client!! DevasteR! Someone,, cmon :) I suck at this dep.

//Vyper

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: Cuda programming
« Reply #3 on: 22 Jun 2007, 08:11:26 pm »
I read the new documentation from NVIDIA.
Its really great......maybe I can help, but at first I must end the optimized sources and study the CUDA Compiler and its stuff.
I can no make a promise.

Is the CUDA Compiler free for evaluation ??

Plan to buy a new Nvidia  maybe a XFX 7900GS 256MB AGP. At the moment I´m waiting since a week  on my ordered 22"  multisync TFT Display from LG.

regards seti_britta  ;)

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Re: Cuda programming
« Reply #4 on: 22 Jun 2007, 09:21:30 pm »
Hey cool news indeed, DevasteR himself is doing a general GPU app for himself but i endorse someone too to make a Nvidia 8x generic GPU client..

You will need atleast a 8xxx based graphics card to accomplish that atm..

And yes CUDA is now free of eval.. and the API is highly understandable through documents and occupancy calculators and so on their website.

Me myself own a 8800GTX and therefor i can betatest in the highest mode available in a x64 platform atm..

Hope you will try to make a CUDA api, FFT transform is now accesible up to 8M instead of 16384 bytes as in CUDA 0.8 series..

Kind Regards Vyper

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: Cuda programming
« Reply #5 on: 23 Jun 2007, 06:28:39 pm »
found this important news ---->
Q: Does CUDA support Double Precision Floating Point arithmetic?

 A: CUDA supports the C "double" data type.  However on G80
    (e.g. GeForce 8800) GPUs, these types will get demoted to 32-bit
    floats. NVIDIA GPUs supporting double precision in hardware will
    become available in late 2007.


Think I should wait to buy a NV8800 till the new hardware is available.
regards

Offline Simon

  • Ni!
  • Knight who says 'Ni!'
  • *****
  • Posts: 1045
    • Is it a bird? Is it a plane? No...its-the.net!
Re: Cuda programming
« Reply #6 on: 23 Jun 2007, 07:14:34 pm »
The new hardware won't be an 8800 - rather, it'll be their next model, whatever they decide to name it. In the meantime they will release a die-shrink version of GF8800 that'll probably be called the 8900 series.

Same for Cell, by the way - the next hardware refresh will be able to do double precision in hardware much more quickly (first-gen Cell BE does, too, but comparatively slowly). Pity it will probably not be inside a low-cost system like the PS3 when it does get released.

Regards,
Simon.

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: Cuda programming
« Reply #7 on: 24 Jun 2007, 03:16:09 am »
did download the whole stuff of CUDA, read a lot and then tried to install the SDK 0.8.1 but it is not available without the hardware.... the SDK will install the CUDA Toolkit 08 automatic and it ask if hardware (8800) is installed.
Pitty to start programdevelopment without hardware is not possible.  :'(

Offline Devaster

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 653
  • I like Duke !!!
Re: Cuda programming
« Reply #8 on: 24 Jun 2007, 03:27:33 am »
you can use emulation mode ...

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Re: Cuda programming
« Reply #9 on: 24 Jun 2007, 06:27:54 am »
Correct there are a emulation mode to atleast see that the code WOULD work but you cannot count in speed in that euqation though ;-)...

//Vyper

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Re: Cuda programming
« Reply #10 on: 26 Jun 2007, 06:30:57 pm »
This is a statement from a nvidia forum regarding the CUFFT library:

"CUFFT API is modelled after FFTW -- this is the only reason of such ordering."

And Complex FFT is now managing up to 8M in size while s@h only needs up to 132K atm...

Start digging expert ones.. It should be doable cause the code is made for talking with FFTW libraries from default, it should only be neccesary with some "patches" to make it to work with Nvidia Cuda API..

//Vyper

P.S I mentioned on Nvidia forums that experienced persons who has programming skill is welcome here to try to convert FFTW -> CUFFT calls to perhaps get a rollout on a Cuda client.. If this is done then Nv hardware beat Ati of beeing the first HW to support S@H .. Could be cool .. D.S :)
« Last Edit: 26 Jun 2007, 06:37:12 pm by Vyper »

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: Cuda programming
« Reply #11 on: 26 Jun 2007, 06:37:59 pm »
Installed the SDK..... read documentation, very interesting.... 

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: Cuda programming
« Reply #12 on: 14 Jul 2007, 06:40:15 pm »
NVIDIA CUDA
Windows Release Notes
Version 1.0
is now available
New Features
Hardware Support
  o  Additional hardware support added
     - Quadro FX 5600
     - Quadro FX 4600
     - GeForce 8800 Ultra
     - GeForce 8600 GTS
     - GeForce 8600 GT
     - GeForce 8500 GT

thats cool, a 8500 GT is available at a price of 110 Euro.
-----------------------------------------------------------------------------
heinz ~seti_britta

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: Cuda programming
« Reply #13 on: 15 Jul 2007, 06:02:10 pm »
Today I compiled my first CUDA example sucessful   ;D
---------------------------------------------------------------------------------------------------------------------------
/* Example of integrating CUDA functions into an existing
 * application / framework.
 * CPP code representing the existing application / framework.
 * Compiled with default CPP compiler.
 */
----------------------------------------------------------------------------------------------------------------------------
------ Neues Erstellen gestartet: Projekt: cppIntegration, Konfiguration: Debug Win32 ------
Die Zwischen- und Ausgabedateien für das Projekt "cppIntegration" mit der Konfiguration "Debug|Win32" werden gelöscht.
Ein benutzerdefinierter Buildschritt wird ausgeführt.
tmpxft_00000fec_00000000-11.i
Kompilieren...
main.cpp
cppIntegration_gold.cpp
Code wird generiert...
Verknüpfen...
Das Manifest wird eingebettet...
Postbuildereignis wird ausgeführt...
Das Buildprotokoll wurde unter "file://c:\Programme\NVIDIA Corporation\NVIDIA CUDA SDK\projects\cppIntegration\Debug\BuildLog.htm" gespeichert.
cppIntegration - 0 Fehler, 0 Warnung(en)
========== Alles neu erstellen: 1 erfolgreich, Fehler bei 0, 0 übersprungen ==========
heinz ~seti_britta

Offline Vyper

  • Alpha Tester
  • Knight Templar
  • ***
  • Posts: 376
Re: Cuda programming
« Reply #14 on: 17 Jul 2007, 05:02:09 pm »
Hey.. There you go..

Keep it up and keepem clients coming  ;)

Kind Regards Vyper

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 33
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 31
Total: 31
Powered by EzPortal