ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
Kwiboo- has joined #dri-devel
<robclark> well this gets us part way there..
<robclark> I'm going to have to look at bfrev.b a bit more to see what the right thing to do there is
<karolherbst> I have a patch ready in a momemt
<karolherbst> if I didn't mess up the opcode name...
Kwiboo has quit [Ping timeout: 480 seconds]
<karolherbst> can always improve it later, for now I don't want to break stuff
<robclark> no, it doesn't seem to work for short/ushort either, that doesn't change anything
<robclark> I'll need to poke at the instruction w/ computerator, but that will have to be tomorrow
<karolherbst> ahh
<karolherbst> then "return alu->def.bit_size < 32 ? 32 : 0;" for reverse
<karolherbst> but if you have native support for it, that would be better to support of course
<robclark> yeah ok, that worked
<karolherbst> okay, already pushed a patch like that to the MR
<karolherbst> can always improve it if the hw supports some of it, but..
<karolherbst> for now having it not broken is good enough :D
<karolherbst> thanks for testing!
<robclark> np
iive has quit [Quit: They came for me...]
feaneron has quit [Ping timeout: 480 seconds]
davispuh has quit []
glennk has quit [Ping timeout: 480 seconds]
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
nerdopolis has joined #dri-devel
epoch101 has quit []
Daanct12 has joined #dri-devel
calico has quit [Remote host closed the connection]
calico has joined #dri-devel
calico is now known as Guest17986
Company has joined #dri-devel
Daanct12 has quit [Quit: WeeChat 4.6.3]
Daanct12 has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
Guest17986 has quit [Ping timeout: 480 seconds]
asrivats_ has joined #dri-devel
hikiko has joined #dri-devel
hikiko_ has quit [Ping timeout: 480 seconds]
hikiko_ has joined #dri-devel
zzyiwei has joined #dri-devel
Duke`` has joined #dri-devel
zzyiwei has quit [Read error: Connection reset by peer]
hikiko has quit [Ping timeout: 480 seconds]
kzd has quit [Ping timeout: 480 seconds]
lipidserum has joined #dri-devel
asrivats_ has quit [Ping timeout: 480 seconds]
lipidserum has quit [Remote host closed the connection]
lipidserum has joined #dri-devel
hikiko has joined #dri-devel
fab_ has joined #dri-devel
fab_ is now known as Guest17990
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
hikiko_ has quit [Ping timeout: 480 seconds]
glennk has joined #dri-devel
YuGiOhJCJ has quit []
lipidserum has quit [Ping timeout: 480 seconds]
dolphin has joined #dri-devel
sima has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
vliaskov__ has joined #dri-devel
Guest17990 has quit []
idr has quit [Ping timeout: 480 seconds]
JRepin has quit []
JRepin has joined #dri-devel
pepp_ has joined #dri-devel
tzimmermann has joined #dri-devel
pepp has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
jsa1 has joined #dri-devel
phasta has joined #dri-devel
vliaskov_ has joined #dri-devel
jsa2 has joined #dri-devel
fab has joined #dri-devel
vliaskov__ has quit [Ping timeout: 480 seconds]
jsa1 has quit [Ping timeout: 480 seconds]
coldfeet has joined #dri-devel
warpme has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
tzimmermann has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
blaztinn has quit [Remote host closed the connection]
coldfeet has quit [Quit: leaving]
coldfeet has joined #dri-devel
blaztinn has joined #dri-devel
frankbinns has quit [Ping timeout: 480 seconds]
coldfeet has quit []
fab has quit [Quit: fab]
fab has joined #dri-devel
fab is now known as Guest17997
mehdi-djait3397165695212282475 has joined #dri-devel
kasper93 has quit [Read error: Connection reset by peer]
JRepin has quit [Remote host closed the connection]
kasper93 has joined #dri-devel
JRepin has joined #dri-devel
haaninjo has joined #dri-devel
frankbinns has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
<tzimmermann> FYI, i just fixed a broken merge resolution in drm-tip. please update if you see any problems
lynxeye has joined #dri-devel
LeviYun has joined #dri-devel
jkrzyszt_ has joined #dri-devel
pcercuei has joined #dri-devel
apinheiro has joined #dri-devel
lipidserum has joined #dri-devel
kts has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
lipidserum has quit [Remote host closed the connection]
lipidserum has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
frankbinns1 has joined #dri-devel
kts has quit [Read error: No route to host]
frankbinns has quit [Read error: Connection reset by peer]
frankbinns2 has joined #dri-devel
frankbinns1 has quit [Ping timeout: 480 seconds]
hikiko_ has joined #dri-devel
frankbinns2 has quit [Remote host closed the connection]
frankbinns has joined #dri-devel
hikiko has quit [Ping timeout: 480 seconds]
hikiko has joined #dri-devel
hikiko_ has quit [Ping timeout: 480 seconds]
lipidserum has quit [Remote host closed the connection]
lipidserum has joined #dri-devel
guludo has joined #dri-devel
lipidserum has quit [Remote host closed the connection]
coldfeet has joined #dri-devel
rasterman has joined #dri-devel
OftenTimeConsuming has quit [Ping timeout: 480 seconds]
coldfeet has quit []
rasterman has quit [Quit: Gettin' stinky!]
feaneron has joined #dri-devel
coldfeet has joined #dri-devel
rasterman has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
OftenTimeConsuming has joined #dri-devel
kasper93 has quit [Ping timeout: 480 seconds]
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
paulk-bis has joined #dri-devel
paulk has quit [Ping timeout: 480 seconds]
JRepin has quit []
JRepin has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
nerdopolis has joined #dri-devel
Nasina has quit [Ping timeout: 480 seconds]
warpme has quit []
kasper93 has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
warpme has joined #dri-devel
lynxeye has joined #dri-devel
azerov has quit []
azerov has joined #dri-devel
calico has joined #dri-devel
apinheiro has quit [Quit: Leaving]
calico is now known as Guest18008
alarumbe has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
<tzimmermann> jfalempe, thanks for reviewing the two include fixes quickly
<jfalempe> tzimmermann: you're welcome.
Guest17997 has quit []
asrivats_ has joined #dri-devel
dolphin has quit [Quit: Leaving]
hikiko_ has joined #dri-devel
hikiko has quit [Ping timeout: 480 seconds]
hikiko has joined #dri-devel
hikiko_ has quit [Ping timeout: 480 seconds]
kode544 has joined #dri-devel
kode54 is now known as Guest18012
kode544 is now known as kode54
Guest18012 has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
kzd has joined #dri-devel
hikiko_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
hikiko has quit [Ping timeout: 480 seconds]
lynxeye has quit [Quit: Leaving.]
lynxeye has joined #dri-devel
coldfeet has quit [Quit: Leaving]
leandrohrb3 has joined #dri-devel
guludo has quit [Ping timeout: 480 seconds]
leandrohrb3 has quit []
leandrohrb3 has joined #dri-devel
leandrohrb3 has quit []
leandrohrb has joined #dri-devel
guludo has joined #dri-devel
Daanct12 has quit [Quit: WeeChat 4.6.3]
rasterman has quit [Quit: Gettin' stinky!]
alarumbe has quit []
asrivats_ has quit [Ping timeout: 480 seconds]
asrivats_ has joined #dri-devel
frankbinns has quit [Ping timeout: 480 seconds]
hikiko has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
hikiko_ has quit [Ping timeout: 480 seconds]
pjakobsson has quit [Remote host closed the connection]
JRepin has quit []
JRepin has joined #dri-devel
bolson has joined #dri-devel
coldfeet has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
phasta has quit [Quit: WeeChat 4.6.2]
coldfeet has quit [Quit: Lost terminal]
JRepin has quit [Remote host closed the connection]
Duke`` has joined #dri-devel
frankbinns has joined #dri-devel
dsimic is now known as Guest18021
dsimic has joined #dri-devel
Guest18021 has quit [Ping timeout: 480 seconds]
krumelmonster has quit [Ping timeout: 480 seconds]
krumelmonster has joined #dri-devel
KAL9000 has joined #dri-devel
KAL9000 has quit []
bbrezill1 has quit []
bbrezillon has joined #dri-devel
idr has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
epoch101 has joined #dri-devel
epoch101 has quit []
kts has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
jsa2 has quit [Ping timeout: 480 seconds]
mehdi-djait3397165695212282475 has quit []
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
Kayden has quit [Quit: -> JF]
warpme has quit []
warpme has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
idr has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
davispuh has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
apinheiro has joined #dri-devel
lstrano__ has left #dri-devel [#dri-devel]
lstrano has joined #dri-devel
vimproved has quit [Remote host closed the connection]
vimproved has joined #dri-devel
fab has joined #dri-devel
vimproved has quit [Remote host closed the connection]
warpme has quit []
vimproved has joined #dri-devel
epoch101 has joined #dri-devel
rasterman has joined #dri-devel
coldfeet has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit [Remote host closed the connection]
Fijxu_ has quit []
Fijxu has joined #dri-devel
idr has joined #dri-devel
Kayden has joined #dri-devel
jkrzyszt_ has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
idr has quit [Ping timeout: 480 seconds]
iive has joined #dri-devel
LeviYun has quit [Read error: Connection reset by peer]
LeviYun has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
Company has quit [Quit: Leaving]
JRepin has joined #dri-devel
coldfeet has quit [Remote host closed the connection]
alanc has quit [Remote host closed the connection]
sima has quit [Ping timeout: 480 seconds]
alanc has joined #dri-devel
clever_ has joined #dri-devel
Mangix has quit [Ping timeout: 480 seconds]
clever has quit [Ping timeout: 480 seconds]
clever_ is now known as clever
JRepin has quit []
JRepin has joined #dri-devel
warpme has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
epoch101 has quit []
fab has quit [Quit: fab]
Mangix has joined #dri-devel
Nasina has joined #dri-devel
warpme has quit []
jsa1 has joined #dri-devel
JRepinc has joined #dri-devel
<robclark> karolherbst: is there something like apitrace for opencl?
JRepin has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
<robclark> thx
<karolherbst> it's been a while since I used it...
<robclark> this tflite thing appears to be trying to set an array of 128 identical pipe_image_view
<robclark> which doesn't work so well when the max is 64
<karolherbst> but yeah, there is a "cliloader" binary and a lot of flags: https://github.com/intel/opencl-intercept-layer/blob/main/docs/controls.md
epoch101 has quit []
<robclark> thx
<karolherbst> mhh
<karolherbst> FULL_PROFILE needs 128 sampler views... but 128 for image views is out of spec...
<karolherbst> but I was considering using bindless to support full profile on more devices
<zmike> I think only radeonsi and zink support bindless
<karolherbst> and nouveau
<zmike> whoveau?
<karolherbst> :P
<alyssa> asahi deliberately doesn't support bindless since there are perf tradeoffs
<robclark> I don't really support bindless.. I use bindless internally within driver, it would be kinda awkward to support both that and gallium bindless
<alyssa> i figure "bindless for vk, no bindless for gl" is good enough for everyone who isn't named mike
<robclark> (but I could support 128.. it would just be a bit annoying)
<alyssa> and anyone named mike can use zink
<karolherbst> robclark: I'm more confused why it's using 128 image_views ...
* robclark too
<karolherbst> I could just reject such a kernel...
<karolherbst> aand maybe should
<robclark> well, it is because it adds that many kernel args
<karolherbst> yeah sure, but that's illegal
<robclark> yeah, you aren't checking the limits and then doing unsafe { set_shader_images() } which goes boom
<karolherbst> yeah...
<karolherbst> I should check if the kernel created actually fits within CL_DEVICE_MAX_WRITE_IMAGE_ARGS
<robclark> right
<karolherbst> looks like that's CL_OUT_OF_RESOURCES for clEnqueueNDRangeKernel
epoch101 has joined #dri-devel
<karolherbst> kinda weird place for it...
<karolherbst> should probably just fail to compile
<karolherbst> but not sure if that's actually legal
<karolherbst> alternatively I could do indirect image operations...
<karolherbst> but not sure what's the perf trade off with those
<robclark> it defn makes it as far as set_shader_images() before anything gets rejected
<karolherbst> yeah, but my point is, it's an application bug anyway
<karolherbst> though I could try to support kernels where applications use the same image_view
<karolherbst> in multiple kernel args
<karolherbst> but it's still a problem that the application uses too many image args and it seems the spec only allows an error for that when the kernel gets launched, so that's a bit annoying
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
<robclark> karolherbst: ^^^
JLP has joined #dri-devel
<karolherbst> sure, but not much we can do about that
<karolherbst> though I guess it just requires 128 and won't run and probably will never fix it
<karolherbst> mut also...
<karolherbst> this code...
<karolherbst> 🙃
JLP_ has quit [Ping timeout: 480 seconds]
epoch101 has quit []
<robclark> yeah, sorry, I probably owe you a drink to help forget that shader :-P
<robclark> it's basically a giant demux
<karolherbst> so what can do really do about that one...
<karolherbst> could support 128 write images :)
<karolherbst> there are a couple of options here.. as I said: bindless would be one, but could also turn it into indirect accesses and load the index as a kernel parameter
<robclark> yeah, although it makes state changes more expensive.. maybe I'll do some different path for compute contexts.. idk yet
<karolherbst> if it's like 128 times the same image, then I'd only need to bind once and reuse the same index
<karolherbst> or well.. it loads the same index 128 times
<robclark> indirect would be better, I think
<karolherbst> but.. it's an additional context pull, but not sure how much it matters given that like.. kernels touch VRAM anyway
<karolherbst> could only do indirects either if drivers don't care or if it goes out of lmits
<karolherbst> indirects shouldn't be a major problem. I never got rid of the space I allocate for them in the kernel input buffer, so we already have a place to store the index..
<karolherbst> more concerned about the deduplication
<karolherbst> I'll think about it and maybe I come up with a good solution
<karolherbst> robclark: are there any costs with binding the same image 32 times?
<karolherbst> like.. is it more or less expensive over having 32 indirects
<robclark> I've not measured it but I wouldn't expect so
<karolherbst> okay
<karolherbst> well then I only need to focus on the case where the kernel has more args than "max_shader_images"
<robclark> anyways, I'm still wrapping my head around what tensorflow is doing.. I mean it seems like this case it should de-duplicate inputs to get a simpler kernel
<karolherbst> and then I turn to indirects and fail the invocation if it actually binds more images than max_shader_images
<karolherbst> yeah.. but maybe sometimes it's different iamges?
<karolherbst> who knows
<karolherbst> maybe it's just bad code
<karolherbst> maybe making it work with this one just means it will fail later.. who knows
<robclark> yeah, that is what I'm trying to figure out ;-)
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
Mangix has quit [Ping timeout: 480 seconds]
<alyssa> robclark: "I paid for 128 images, and I'm gonna *use* 128 images!"
<robclark> you get what you paid for :-P
Nasina has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
asrivats_ has quit [Read error: Connection reset by peer]
asrivats has quit [Read error: Connection reset by peer]
asrivats_ has joined #dri-devel
apinheiro has quit [Quit: Leaving]
Mangix has joined #dri-devel
guludo has quit [Ping timeout: 480 seconds]
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
pcercuei has quit [Quit: dodo]
vliaskov_ has quit [Ping timeout: 480 seconds]
haaninjo has quit [Quit: Ex-Chat]
Kayden has quit [Quit: -> home]
epoch101 has quit []
cef has quit [Ping timeout: 480 seconds]
lsntvt__ has quit [Ping timeout: 480 seconds]
tyalie has quit [Ping timeout: 480 seconds]
lanodan is now known as Guest18046
lanodan has joined #dri-devel
Guest18046 has quit [Remote host closed the connection]
cef has joined #dri-devel