Files |  Tutorials |  Articles |  Links |  Home |  Team |  Forum |  Wiki |  Impressum

Aktuelle Zeit: Di Mai 14, 2024 21:15

Foren-Übersicht » English » English Programming Forum
Unbeantwortete Themen | Aktive Themen



Ein neues Thema erstellen Auf das Thema antworten  [ 1 Beitrag ] 
Autor Nachricht
 Betreff des Beitrags: OpenCL and Delphi?
BeitragVerfasst: Di Dez 22, 2009 23:19 
Offline
DGL Member
Benutzeravatar

Registriert: Di Jul 01, 2003 18:59
Beiträge: 887
Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
It seems that ati's opencl is out of beta:
http://developer.amd.com/gpu/ATIStreamS ... fault.aspx
Nvidia's is long out of beta i believe.

Now with opencl nice things should be possible like physics etc ...

But for us delphi/object pascal users this is not going to happen without converted headers. So who is daring enough ;-)

Also opencl is a bit like c could a simple pre parser be made allowing to write more pascal like code? Or would that only cloud up things?

Anyway more on opencl is here:
http://www.khronos.org/opencl/

And an example from the man pages:
Code:
  1. kernel void
  2.           do_proc (__global char *pA, short b,
  3.                          __global short *pB)
  4.           {
  5.                 char            x[100];
  6.                 __private char  *px = x;
  7.                 int             id = (int)get_global_id(0);
  8.                 short           f;
  9.                 f = pB[id] + b; // is allowed
  10.                 px[1] = pA[1];  // error. px cannot be written.
  11.                 pB[id] = b;   // error. pB cannot be written
  12.           }


And hello world from ati:
http://developer.amd.com/gpu/ATIStreamS ... penCL.aspx

And something more complex:
http://browndeertechnology.com/docs/BDT ... NBody.html

_________________
http://3das.noeska.com - create adventure games without programming


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 1 Beitrag ] 
Foren-Übersicht » English » English Programming Forum


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 5 Gäste


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
  Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de
[ Time : 0.034s | 17 Queries | GZIP : On ]