12:19 karolherbst: pmoreau: btw, with your spirv patches clinfo prints this: SPIR versions <printDeviceInfo:161: get CL_DEVICE_SPIR_VERSIONS size : error -30
12:19 karolherbst: but I guess that's expected?
12:20 karolherbst: ohh actually not.. we need to handle CL_DEVICE_SPIR_VERSIONS
12:22 pmoreau: I was going to say, since when does my SPIR-V series added anything related to SPIR? :-D
12:23 karolherbst: ohh wait...
12:23 karolherbst: I think that's just 2.1 stuff?
12:23 karolherbst: let's see
12:23 karolherbst: mhhh
12:23 karolherbst: cl_khr_spir is the extension
12:23 pmoreau: How come CL_DEVICE_SPIR_VERSIONS does not return an error?
12:23 karolherbst: probably because clinfo is broken :p
12:24 pmoreau: And I don’t remember ever seeing that on my end. Have you enabled something special?
12:24 karolherbst: no
12:27 pmoreau: I don’t see it here.
12:28 pmoreau: Which extensions do you have exposed, and which platform and device version?
12:28 karolherbst: uhhhh... I think I might know why
12:28 karolherbst: cl_khr_spirv_no_integer_wrap_decoration
12:28 karolherbst: which has "cl_khr_spir" as a substring
12:28 karolherbst: :D
12:28 pmoreau: :o
12:29 pmoreau: Why is that extension exposed to clinfo?
12:30 karolherbst: because I have a patch for it
12:30 karolherbst: and technically we actually support that one anyway
12:31 pmoreau: Right, but that is a SPIR-V extension not a CL one.
12:31 karolherbst: i's a CL extension
12:31 pmoreau: Oh wait yeah, my bad
12:35 pmoreau: karolherbst: Indeed: https://github.com/Oblomov/clinfo/blob/master/src/clinfo.c#L913
12:35 karolherbst: yeah
12:35 karolherbst: I mean.. I can just handle the enum and always throw the error :D
12:47 pmoreau: I opened an issue against clinfo.
12:52 karolherbst: although I guess we could wire up spir as that should be for free essentially, no?
12:52 karolherbst: just... very strange :D
12:52 karolherbst: spir isn't required by any CL version, right?
15:10 RSpliet: karolherbst: from the OpenCL 2.2 manual
15:10 RSpliet: "The OpenCL 2.2 specification requires support for the SPIR-V intermediate language that allowsoffline, or linked online, compilation to a binary format that may be consumed by theclCreateProgramWithIL interface."
15:30 karolherbst: RSpliet: SPIR, not SPIR-V
15:31 RSpliet: Oh right
15:32 RSpliet: Yeah, my Wiki skills tell me that's only ever been an extension. TIL.
20:02 greenz1: How to create virtual GPU using nouveau? I am looking to use Nvidia Tesla T4 as a virtual GPU. I am aware of Nvidia GRID but I am looking for an open source alternative. The closest I found is Virgil3D.