Re: "the upcoming OpenCL target"

2017-10-16 Thread mratsim
Actually in the top comment of that article it says that the article author had a misundertanding. What will potentially be merged is the intermediate representation SPIR-V, not the languages on top. I did find something called ["Vulkan Compute"](https://news.ycombinator.com/item?id=11798208).

Re: "the upcoming OpenCL target"

2017-10-15 Thread monster
Exactly, Vulkan is meant to replace both OpenGL _and_ OpenCL, in a single language. I suspect, in many case, someone using OpenGL is likely to use OpenCL (or CUDA) too. And they need to learn two different languages to do that. Vulkan will make the life of such devs easier (in theory).

Re: "the upcoming OpenCL target"

2017-10-15 Thread Stefan_Salewski
> OpenCL and Cuda provides you with a subset From [https://news.ycombinator.com/item?id=14383296](https://news.ycombinator.com/item?id=14383296) I got the impression that Vulkan also supports that and may merge with OpenCL.

Re: "the upcoming OpenCL target"

2017-10-15 Thread mratsim
I will write OpenCL code and also HIP code in my deep learning library. Vulkan however is different from OpenCL and Cuda. Vulkan provides Graphics and Physics related primitives like OpenGL or GLSL shaders while OpenCL and Cuda provides you with a subset of C/C++ working on the GPU (loops, if/el

Re: "the upcoming OpenCL target"

2017-10-14 Thread monster
I assume that means nobody is working on it atm. Maybe using one of those two APIs would simplify things? * [SYCL](https://www.khronos.org/sycl) C++ Single-source Heterogeneous Programming for OpenCL * [HIP](https://github.com/ROCm-Developer-Tools/HIP) Convert CUDA to Portable C++ Code (whe

Re: "the upcoming OpenCL target"

2017-10-14 Thread mratsim
Just stumbled upon this while looking for completely unrelated stuff: [https://github.com/nim-lang/Nim/wiki/GSoC-2016-Ideas#add-a-code-generator-for-opencl](https://github.com/nim-lang/Nim/wiki/GSoC-2016-Ideas#add-a-code-generator-for-opencl)

Re: "the upcoming OpenCL target"

2017-10-13 Thread mratsim
I bet 2 cents on Valve time

"the upcoming OpenCL target"

2017-10-13 Thread monster
The Nim manual mentions "the upcoming OpenCL target". Is that still a coming? And what about [Vulkan](https://www.khronos.org/vulkan/), which seems to be it's successor?