« first day (3532 days earlier)      last day (1638 days later) » 

02:55
Also C++ needs something like std::round(12.333333,2) -> 12.33
03:18
@Mikhail do you use OpenCL by the way?
@OneRaynyDay Yeah
Do you know why this piece of code is running in clang v8 but not trunk? godbolt.org/z/nGvxAC
It seems like the address space scope stuff with __global and stuff are supposedly supported by OpenCL, right?
The way I do my OCL is to compile the programs at runtime.
It's been a while since I've heard compile and runtime in the same time. You mean you JIT it?
No, you literally have a function that eats a long string and it spits out a handle to a compiled program
03:22
Hmm, okay but you still have to compile it right?
Wow, wack. But yeah looks similar to JIT'ing
Disclaimer: I'm not an openCL expert. I'm doing some work in clang tooling and I came across an "address space casting" for openCL
BTW, this is how most graphics is done (OpenGL, etc).
For example this is what one of my kernels looks like
One thing thats not clear to me is how you specify the OCL version in what you're doing. There is probably a way, but I don't know it.
03:54
What do you find weird about it?
Also there is a 3rd kind of memory, which is thread local memory (sometimes implemented as texture memory). On GPUs you can get access to the cache as a pointer.
 
2 hours later…
06:00
@Mikhail just the syntax - you're not allowed a main, which makes sense if you're doing some compiling on the fly
I also think the dunders(double underscores) imply builtins or C typing, which C++ naming doesnt mesh well with
 
1 hour later…
07:06
@OneRaynyDay I think you should spend a day looking at the pipeline from scratch. You will notice that the example I posted didn't use the double underscore. Although the annotation resembles the long and far pointers of darker times.
__near & __far
Although frankly, I've used __restrict so much I'm not offended by underscores
07:30
Latest Android Studio update stole adb.exe it seems. I can't locate it, I am sure it was there before.
Kids, think twice before you downgrade to a higher version of any software!
08:18
@Mikhail thank god they're not about near and far pointers
I've heard horrible tales about them but I started doing actual C++ when C++11 hit so I would say I'm pretty fortunate to never have worked w them
09:17
@Mikhail sorry, for some reason I switched std::lerp and std::midpoint, you're right
user1804599
@Mikhail you can’t round binary floats to a number of decimals and return another float
Meh, MATLAB implements a pretty good approximation
user1804599
This is why toFixed in JavaScript returns a string.
user1804599
You can make a type for fixed-point numbers.
user1804599
09:20
If Python does it then that’s a pretty good indication that it’s a terrible idea.
10:49
the platform source includes a tool for testing debuggerd called crasher
debuggerd ...
11:33
Tombstone crash logs are written when a native crash in C/C++ code occurs in an Android application.
I have found out the most memorised day that people practice to - the garbage collection day!
 
5 hours later…
16:16
 
2 hours later…
18:32
Hey what did the left eye say to the right eye?
Between you and me, something smells.
 
3 hours later…
21:19
Lol
 
2 hours later…
23:19
<operand> + <operand> = ?
23:42
Question aside: Why is everyone so shy in upvoting - has one anything to lose but being called names like "being helpful for the community"? :D

« first day (3532 days earlier)      last day (1638 days later) »