Re: dcompute - A library + ldc modifications - can now build a simple add kernel

2016-07-17 Thread Nicholas Wilson via Digitalmars-d-announce
On Sunday, 17 July 2016 at 19:23:19 UTC, cym13 wrote: On Sunday, 17 July 2016 at 07:45:45 UTC, Nicholas Wilson wrote: Available here[1][2], it can now build a simple add kernel for both CUDA (.ptx) and OpenCL (.spv) (and of course the host code) in one compiler invocation. A lot of things

Re: dcompute - A library + ldc modifications - can now build a simple add kernel

2016-07-17 Thread cym13 via Digitalmars-d-announce
On Sunday, 17 July 2016 at 07:45:45 UTC, Nicholas Wilson wrote: Available here[1][2], it can now build a simple add kernel for both CUDA (.ptx) and OpenCL (.spv) (and of course the host code) in one compiler invocation. A lot of things are still hardcoded and the optimisations need to tuned

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 July 2016 at 13:17:45 UTC, Jacob Carlborg wrote: On 2016-07-16 22:34, Sebastiaan Koppe wrote: Why not using something existing, like GitLab? Although GitLab is a source code hosting system its CI is excellent. It uses a master-worker architecture as well, GitLab being the master

Re: Battle-plan for CTFE

2016-07-17 Thread Rory McGuire via Digitalmars-d-announce
On Sun, Jul 17, 2016 at 6:08 PM, Stefan Koch via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Sunday, 17 July 2016 at 15:57:28 UTC, Rory McGuire wrote: > >> >> Thanks that would be great, however I think its a while off before it can >> work on your ctfe

Re: Battle-plan for CTFE

2016-07-17 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 17 July 2016 at 15:57:28 UTC, Rory McGuire wrote: Thanks that would be great, however I think its a while off before it can work on your ctfe implementation. It uses Pegged, so getting the Pegged JSON parser or pegged.peg working would be a first step. pegged uses templates.

Re: Battle-plan for CTFE

2016-07-17 Thread Rory McGuire via Digitalmars-d-announce
On Sun, Jul 17, 2016 at 3:28 PM, Stefan Koch via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Sunday, 17 July 2016 at 13:04:33 UTC, Rory McGuire wrote: > >> On Sun, Jul 17, 2016 at 2:41 PM, Stefan Koch via Digitalmars-d-announce < >>

Re: Battle-plan for CTFE

2016-07-17 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 17 July 2016 at 13:04:33 UTC, Rory McGuire wrote: On Sun, Jul 17, 2016 at 2:41 PM, Stefan Koch via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: [...] A commit does pretty much the same thing. Tags/Branches just make UIs show a "menu" for selecting a

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-07-16 22:34, Sebastiaan Koppe wrote: Just to let you guys know - and to be sure no one is doing the same - I decided to go ahead and *start* writing an autotester that will fetch dmd nightly and unittest each dub package. It will be using a classic master-worker architecture and will

Re: Battle-plan for CTFE

2016-07-17 Thread Rory McGuire via Digitalmars-d-announce
On Sun, Jul 17, 2016 at 2:41 PM, Stefan Koch via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Sunday, 17 July 2016 at 12:12:17 UTC, Rory McGuire wrote: > >> Nice! how are you keeping track of changes? Are you tagging / branching >> each time you get something new

Re: Battle-plan for CTFE

2016-07-17 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 17 July 2016 at 12:12:17 UTC, Rory McGuire wrote: Nice! how are you keeping track of changes? Are you tagging / branching each time you get something new working? I just push a new commit. And add code to the gist. Why would I branch ? It all goes towards the same goal.

Re: Battle-plan for CTFE

2016-07-17 Thread Rory McGuire via Digitalmars-d-announce
Nice! how are you keeping track of changes? Are you tagging / branching each time you get something new working? On Sun, Jul 17, 2016 at 12:12 PM, Stefan Koch via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Friday, 15 July 2016 at 20:36:46 UTC, Stefan Koch wrote: >

Re: Battle-plan for CTFE

2016-07-17 Thread Stefan Koch via Digitalmars-d-announce
On Friday, 15 July 2016 at 20:36:46 UTC, Stefan Koch wrote: I decided to keep a gist updated to represent the current state the new engine can handle. https://gist.github.com/UplinkCoder/89faa06311e417aa93ea99bc92934d3e Internal changes to the bytecode engine make the manipulation of values

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Guillaume Piolat via Digitalmars-d-announce
On Saturday, 16 July 2016 at 20:34:49 UTC, Sebastiaan Koppe wrote: Just to let you guys know - and to be sure no one is doing the same - I decided to go ahead and *start* writing an autotester that will fetch dmd nightly and unittest each dub package. It will be using a classic master-worker

dcompute - A library + ldc modifications - can now build a simple add kernel

2016-07-17 Thread Nicholas Wilson via Digitalmars-d-announce
Available here[1][2], it can now build a simple add kernel for both CUDA (.ptx) and OpenCL (.spv) (and of course the host code) in one compiler invocation. A lot of things are still hardcoded and the optimisations need to tuned a bit more but it works. Any and all testing, feedback,bug

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Basile B. via Digitalmars-d-announce
On Sunday, 17 July 2016 at 06:19:16 UTC, Sebastiaan Koppe wrote: On Sunday, 17 July 2016 at 04:47:40 UTC, Basile B. wrote: I think that everybody will agree that's an excellent ideas to discover regressions. How do you plan to handle libraries that are not purely written in D (i.e requiring

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread rikki cattermole via Digitalmars-d-announce
On 17/07/2016 6:15 PM, Sebastiaan Koppe wrote: On Sunday, 17 July 2016 at 04:28:54 UTC, rikki cattermole wrote: On 17/07/2016 8:34 AM, Sebastiaan Koppe wrote: If you add nightly can you add x last major releases? Yeah, specially for dub, nightly is not that important. Also how about adding

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 July 2016 at 04:47:40 UTC, Basile B. wrote: I think that everybody will agree that's an excellent ideas to discover regressions. How do you plan to handle libraries that are not purely written in D (i.e requiring -L-lClib linker option) ? There are probably other cases where a

Re: Autotesting dub packages with dmd nightly

2016-07-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 July 2016 at 04:28:54 UTC, rikki cattermole wrote: On 17/07/2016 8:34 AM, Sebastiaan Koppe wrote: If you add nightly can you add x last major releases? Yeah, specially for dub, nightly is not that important. Also how about adding a 'button' for each one that says weather it