r4m0n changed the topic of #kspmodders to: Technical discussion ONLY (KSP related or not), for random shit-talking, join #shitshow (seriously)
RandomJeb has quit [Ping timeout: 186 seconds]
<Orum> sure would be nice if there was a way to tell /what/ resource you're running out of when you get CL_OUT_OF_RESOURCES
Supernovy has quit [Killed (NickServ (GHOST command used by Cynephobn))]
Supernovy has joined #kspmodders
fcbayerndm has quit [Quit: fcbayerndm]
fcbayerndm has joined #kspmodders
fcbayerndm has quit [Quit: fcbayerndm]
Wetmelon has quit [Ping timeout: 186 seconds]
<Orum> you know you're doing (j)it right when you have 42 lines of CPP for 1 line of code
angavrilov|phone has quit [Ping timeout: 186 seconds]
angavrilov|phone has joined #kspmodders
Supernovy has quit [Quit: Goodnight.]
m4v has quit [Ping timeout: 198 seconds]
angavrilov||phone has joined #kspmodders
angavrilov|phone has quit [Read error: Connection reset by peer]
m4v has joined #kspmodders
angavrilov has joined #kspmodders
VanDisaster has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
VanDisaster has joined #kspmodders
GlassYuri has joined #kspmodders
Rokker has quit [Quit: Connection closed for inactivity]
Wetmelon has joined #kspmodders
GlassYuri has quit [Ping timeout: 198 seconds]
m4v has quit [Ping timeout: 198 seconds]
m4v has joined #kspmodders
GlassYuri has joined #kspmodders
<Orum> Well, despite being a scalar arch, nVidia drivers still insist on loading every vector entirely into registers to perform calculation, leading to starvation... sigh
<angavrilov> what kind of calculation
<Orum> pythagorean theorm on 2 vectors, followed by normalization to 0:1
<angavrilov> well, for one there are vector memory read and write operations
<Orum> pretty suire this is causing it: https://hastebin.com/odehakofiv.pas
<angavrilov> which transfer the whole vector in one memory transaction, so they improve memory efficiency
<Orum> yeah, this should do read coalescing, I would think...
<Orum> either way debugging this blindly sucks
<Orum> I'll have to see what disassembly tools there are for compiled kernels for various platforms
<angavrilov> does opencl has a way to compile it to ptx assembly like cuda to see what the frontend compiler does?
<Orum> I know you can save compiled binaries, either to the intermediate SPIR-V or to the actual platform binary itself
<Orum> but without something to disassemble it's kind of pointless
<angavrilov> binaries are kinda proprietary and secret, so there probably aren't good disassemblers
<Orum> damn :\
<angavrilov> cuda has a hardware independent somewhat abstract ptx assembly representation, which is standardized and you can read it as text
<Orum> I'll see if there's a way I can compile a kernel to that, would do wonders to see what is actually going on
<GlassYuri> ...if you install the latest version of unity on ten computers, you get like 15 different versions
<angavrilov> it does have some abstractions like an infinite number of registers, which is then appropriately reduced when recompiling to binary in the driver
<Orum> hrm, interesting...
<angavrilov> but it provides a more low level view at what's going on compared to source code
<Orum> it looks like you can compile to ptx with clang 3.0
<Orum> problem is, who knows how different the code will be from nvidia's compiler
<Orum> well, it's at least worth a shot
<Orum> oh god, I missed inserting a letter when copying my other kernel... (╯°□°)╯︵ ┻━┻
<Orum> so it had the wrong vector type
<Orum> and now it barely squeaks by, but is probably horribly broken on anything not made in the last 2 years
Rokker has joined #kspmodders
RandomJeb has joined #kspmodders
TonyC has joined #kspmodders
Nekark has quit [Ping timeout: 186 seconds]
Kracc has quit [Ping timeout: 186 seconds]
Kracc has joined #kspmodders
Nekark has joined #kspmodders
angavrilov|phone has joined #kspmodders
angavrilov||phone has quit [Read error: Connection reset by peer]
angavrilov||phone has joined #kspmodders
angavrilov|phone has quit [Ping timeout: 186 seconds]
GlassYuri has quit [Ping timeout: 186 seconds]
GlassYuri has joined #kspmodders
angavrilov|phone has joined #kspmodders
angavrilov||phone has quit [Ping timeout: 198 seconds]
GlassFragments has joined #kspmodders
GlassYuri has quit [Read error: Connection reset by peer]
dsonbill has quit [Ping timeout: 182 seconds]
Orum has quit [Read error: Connection reset by peer]
dsonbill has joined #kspmodders
GlassYuri has joined #kspmodders
GlassFragments has quit [Read error: Connection reset by peer]
VanDisaster has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
VanDisaster has joined #kspmodders
GlassFragments has joined #kspmodders
GlassYuri has quit [Ping timeout: 383 seconds]
Addle has quit [Ping timeout: 190 seconds]
m4v has quit [Ping timeout: 182 seconds]
m4v has joined #kspmodders
m4v has quit [Ping timeout: 186 seconds]
m4v has joined #kspmodders
TonyC has quit [Quit: Goodbye.]
TonyC has joined #kspmodders
Kreuzung has joined #kspmodders
GlassFragments has quit [Ping timeout: 186 seconds]
GlassYuri has joined #kspmodders
Kreuzung has quit [Ping timeout: 186 seconds]
angavrilov has quit [Remote host closed the connection]
m4v has quit [Ping timeout: 186 seconds]
m4v has joined #kspmodders
VanDisaster has quit [Ping timeout: 383 seconds]
VanDisaster has joined #kspmodders
Supernovy has joined #kspmodders
fcbayerndm has joined #kspmodders
GlassFragments has joined #kspmodders
GlassYuri has quit [Ping timeout: 198 seconds]
Addle has joined #kspmodders
RandomJeb has quit [Ping timeout: 186 seconds]
GlassYuri has joined #kspmodders
GlassFragments has quit [Ping timeout: 198 seconds]
Wetmelon has quit [Read error: Connection reset by peer]