libmir / dcompute

DCompute: Native execution of D on GPUs and other Accelerators
Boost Software License 1.0
138 stars 27 forks source link

Add standard math functions #52

Open thewilsonator opened 6 years ago

thewilsonator commented 6 years ago

Trig Integer Atomic

12345swordy commented 5 years ago

@thewilsonator I am working on creating the bindings for the math functions. I only have open cl 2.0 instead of open cl 2.1, which currently giving me difficultly.

thewilsonator commented 5 years ago

IIRC 2.1 is when SPIR-V support was added and that is how LDC is able to target OpenCL at all.

What is your 2.0 device? My ancient Intel CPU is what I'm using for OpenCL.

12345swordy commented 5 years ago

You sure? https://www.khronos.org/spir/ Anyways the device that I am using is the Radeon RX580 series. Which has the OpenCL API Version 2.0