All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Nouveau] How to enable OpenCL device in Clover ?
@ 2023-10-23 17:54 Andrew Randrianasulu
  2023-10-27  5:35 ` Timothy Maden
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Randrianasulu @ 2023-10-23 17:54 UTC (permalink / raw)
  To: nouveau

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

I think you can use
NOUVEAU_ENABLE_CL=1 clpeak for example

it skips memory-hungry bandwidth test but then runs partially:

Platform: Clover
  Device: NV106
    Driver version  : 23.3.0-devel (Linux x86)
    Compute units   : 1
    Clock frequency : 512 MHz
SPIR-V WARNING:
    In file ../src/compiler/spirv/spirv_to_nir.c:4681
    Unsupported SPIR-V capability: SpvCapabilityLinkage (5)
    28 bytes into the SPIR-V binary

    Global memory bandwidth (GBPS)
      float   : nve4_launch_grid:905 - Failed to launch grid !

[..]

Single-precision compute (GFLOPS)
      float   : 80.74
      float2  : 41.38
      float4  : 50.49
      float8  : 51.32
      float16 : 53.58

on unreclocked NVIDIA GK208B (2gb ddr3 memory - ha!)

[-- Attachment #2: Type: text/html, Size: 1434 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Nouveau] How to enable OpenCL device in Clover ?
@ 2023-10-08  2:09 Timothy Madden
  0 siblings, 0 replies; 3+ messages in thread
From: Timothy Madden @ 2023-10-08  2:09 UTC (permalink / raw)
  To: nouveau

Hello,

I can see from the mesamatrix page at:

	https://mesamatrix.net/

that NVC0 should support OpenCL 1.2, without the optional image formats 
and device partitioning.

But I have never seen and OpenCL device in Clover for my NVIDIA cards, 
am I missing something ?

I have the following chips:
	- Fermi GF117 (GeForce 710M)
	- Kepler GK208B (GeForce GT 710)
	- Turing TU102 (RTX 2080 Ti)
	- Ampere GA102 (RTX 3090)

(of these, the GF117 chip actually falls in the NVC0 family according to 
the web page for CodeNames: https://nouveau.freedesktop.org/CodeNames.html)

For my latest NVIDIA card (3090) I compiled mesa from git, with the 
OpenCL frontend and spirV option set tot true, and I still get no OpenCL 
device from Clover.

Do I need some specific hardware, and only that is supposed to work ? Do 
I need some option I do not know about ?

--
Thank you,
Timothy Madden


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-27  5:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23 17:54 [Nouveau] How to enable OpenCL device in Clover ? Andrew Randrianasulu
2023-10-27  5:35 ` Timothy Maden
  -- strict thread matches above, loose matches on Subject: below --
2023-10-08  2:09 Timothy Madden

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.