« first day (3156 days earlier)      last day (2018 days later) » 

02:49
In Calgary now, going to stalk some Rockie bears, maybe a pack of small wolves or two.
 
3 hours later…
06:04
The performance differential between OpenCL and CUDA on FFT benchmarks is growing. When I did OCL in 2016 OCL was about 60% slower, today its about 150% slower. Further, you need to zero pad in OCL while in CUDA you get good performance out of the box for even the most wacky size FFT. Its getting bad. Why the fuck hasn't Intel or AMD written a good FFT library? How the heck do they expect anybody to use their GPUs....
 
4 hours later…
10:16
@Mysticial yeah that’s a correct override with, as you noted, a covariant return type
 
3 hours later…
13:00
@Mysticial so apparently the compiler is supposed to verify the return type is covariant
user7659542
13:23
@Mikhail my bad didn't see you repolied previously. They are all in one single process qnd I qm indeed not talking about a kernel space driver. The downside with this approach is that you have to include your driver in your service, they are actually linked in some sense. While if you were to add this additional layer you don't link them at all
user7659542
What dou you mean precisely by "a C style API"?
user7659542
this way the service has no clue a driver exists and vice-verca. If tomorrow you'd want to replace the driver by something totally different, you'd only have to update the intermediate layer, and not modify anything in the service layer
user7659542
where the intermediate layer is just a "connection layer"
14:54
 
3 hours later…
17:53
I really need to take some time off
user7659542
18:07
@Mgetz too many junior devs to coach?
too many stupid clients
i have bad news for you
user7659542
@Mgetz you get in touch with them yourself? Don't you have eg systems engineers who do that for you?
user7659542
at my company they translate customer wishes into system requirements
user7659542
and we do the rest
18:50
@Mikhail That's the point. They don't want you to use their GPUs. They want you do use their CPUs. :D :P
19:00
@Mysticial actually they do, they just don't have the resources to pay for their own runtime like Intel and Nvidia do
@Mysticial interesting way of doing vector arxiv.org/pdf/1906.00478.pdf
 
3 hours later…
22:05
@StackedCrooked No AVX on coliru: coliru.stacked-crooked.com/a/492e2c474df17aeb
^^ PLZ FIX!!! URGANT!
22:22
@Mysticial You must provide AVX-512 immediately! :-)
22:56
Puzzle for the SIMD people: I just made an edit my answer on int64 <-> double conversions.
> These are similar wim's answer below - but with more abusive optimizations. As such, deciphering these will also be left as an exercise to the reader.
^^ Anyone wanna try?
@Mysticial I guess, I'd first need to learn about IEEE 754-2008?
@StackedCrooked That's overkill. You just need to know floating-point representation.
23:45
@Mysticial dumb question, why print the number as an int after going through the trouble of converting it to a double?
second dumb question: why this over just regular cast? to stay in the SSE/AVX registers?
@Borgleader It's easier to visualize since the default float print precision is only like 6 digits.
@Borgleader Yeah. The instruction for int64 <-> double conversions on SIMD didn't exist until AVX512.
ok that makes sense
It does exist for scalar. But manually unpacking/compute/re-packing is slow.
AVX512 takes away some of the "fun" with floating-point abuse. But there's still a lot of aspects with those magic constants that let you do things that aren't directly supported with an AVX512 instruction.

« first day (3156 days earlier)      last day (2018 days later) »