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