digitalmars.D - Cuda for C++
- bearophile (5/5) May 29 2009 "Thrust is a CUDA library of parallel algorithms with an interface resem...
- Trass3r (5/12) May 29 2009 Hopefully OpenCL's runtime will be compatible to D's:
- Denis Koroskin (2/16) May 29 2009 Yeah, OpenCL looks interesting. For example, they annotate variables wit...
- Robert Jacques (6/28) May 29 2009 Well, that's not quite right,
- Robert Jacques (2/16) May 29 2009 Umm... I've gotten D's and CUDA's runtime to play nice together.
- Robert Fraser (4/22) May 29 2009 Isn't there a dcuda project at team0xf? Not sure what state it's in, tho...
- Walter Bright (3/4) May 29 2009 No problem:
"Thrust is a CUDA library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL). Thrust provides a flexible high-level interface for GPU programming": http://code.google.com/p/thrust/ Something like this (but OpenCL) for D sounds quite interesting. Bye, bearophile
May 29 2009
bearophile schrieb:"Thrust is a CUDA library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL). Thrust provides a flexible high-level interface for GPU programming": http://code.google.com/p/thrust/ Something like this (but OpenCL) for D sounds quite interesting.Hopefully OpenCL's runtime will be compatible to D's: Chris R Miller wrote (in Feb):I looked into writing CUDA with D a while back. The problem is that the CUDA C runtime and the D runtime are 100% incompatible.I don't have any new information about the topic though. Maybe it works with druntime.
May 29 2009
On Fri, 29 May 2009 15:28:00 +0400, Trass3r <mrmocool gmx.de> wrote:bearophile schrieb:Yeah, OpenCL looks interesting. For example, they annotate variables with either __global, __local or __private attributes, that are very close to D2 shared/TLS/unique."Thrust is a CUDA library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL). Thrust provides a flexible high-level interface for GPU programming": http://code.google.com/p/thrust/ Something like this (but OpenCL) for D sounds quite interesting.Hopefully OpenCL's runtime will be compatible to D's: Chris R Miller wrote (in Feb): > I looked into writing CUDA with D a while back. The problem is that the > CUDA C runtime and the D runtime are 100% incompatible. I don't have any new information about the topic though. Maybe it works with druntime.
May 29 2009
On Fri, 29 May 2009 07:33:55 -0400, Denis Koroskin <2korden gmail.com> wrote:On Fri, 29 May 2009 15:28:00 +0400, Trass3r <mrmocool gmx.de> wrote:Well, that's not quite right, global : shared, accessible by the host local : restricted to a 'work-group', not accessible by the host private: value-types on the function's stackbearophile schrieb:Yeah, OpenCL looks interesting. For example, they annotate variables with either __global, __local or __private attributes, that are very close to D2 shared/TLS/unique."Thrust is a CUDA library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL). Thrust provides a flexible high-level interface for GPU programming": http://code.google.com/p/thrust/ Something like this (but OpenCL) for D sounds quite interesting.Hopefully OpenCL's runtime will be compatible to D's: Chris R Miller wrote (in Feb): > I looked into writing CUDA with D a while back. The problem is that the > CUDA C runtime and the D runtime are 100% incompatible. I don't have any new information about the topic though. Maybe it works with druntime.
May 29 2009
On Fri, 29 May 2009 07:28:00 -0400, Trass3r <mrmocool gmx.de> wrote:bearophile schrieb:Umm... I've gotten D's and CUDA's runtime to play nice together."Thrust is a CUDA library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL). Thrust provides a flexible high-level interface for GPU programming": http://code.google.com/p/thrust/ Something like this (but OpenCL) for D sounds quite interesting.Hopefully OpenCL's runtime will be compatible to D's: Chris R Miller wrote (in Feb): > I looked into writing CUDA with D a while back. The problem is that the > CUDA C runtime and the D runtime are 100% incompatible. I don't have any new information about the topic though. Maybe it works with druntime.
May 29 2009
Trass3r wrote:bearophile schrieb:Isn't there a dcuda project at team0xf? Not sure what state it's in, though. I'd say OpenCL/DirectX Compute Shaders are the future... CUDA is only supported on NVIDIA, and as a proud ATI user, I must take exception."Thrust is a CUDA library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL). Thrust provides a flexible high-level interface for GPU programming": http://code.google.com/p/thrust/ Something like this (but OpenCL) for D sounds quite interesting.Hopefully OpenCL's runtime will be compatible to D's: Chris R Miller wrote (in Feb): > I looked into writing CUDA with D a while back. The problem is that the > CUDA C runtime and the D runtime are 100% incompatible. I don't have any new information about the topic though. Maybe it works with druntime.
May 29 2009
Trass3r wrote:I don't have any new information about the topic though.No problem: http://www.seriouswheels.com/1970-1979/1970-Plymouth-Hemi-Cuda-Orange-FA.htm
May 29 2009