From: Timothy Maden <terminatorul@gmail.com>
To: nouveau@lists.freedesktop.org
Subject: Re: [Nouveau] How to enable OpenCL device in Clover ?
Date: Fri, 27 Oct 2023 08:35:05 +0300 [thread overview]
Message-ID: <uhfi69$eil$1@ciao.gmane.io> (raw)
In-Reply-To: <CA+rFky5Swae3E7jtEi-abHHd9VJ+WaQhqM99L5zP0_r-T_Yneg@mail.gmail.com>
On 10/23/23 20:54, Andrew Randrianasulu wrote:
> 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!)
Oh, thank you !
Maybe this variable should be documented, like for example the new
variable I_WANT_A_BROKEN_VULKAN_DRIVER is documented.
I have a GK208B chip, that I replaced with a GA102.
When I try to use the OpenCL device I get the following error on GA102:
Build Log: <built-in>:1:10: fatal error: 'opencl-c.h' file not found
this happens with both Mesa 23.2.1 and latest Mesa 24.0.0-devel from git.
The missing header in the message is found in clang-libs package on
Fedora for example, and if I add the needed -I flag to clBuildProgram(),
the error goes away. So it looks like a missing include directory inside
Clover ... ?
Unfortunately I can not add the missing -I flag to OpenCL compiler when
using clpeak or LuxMark ... without recompiling. Is there an environment
variable or some other way ?
--
Thank you,
Timothy Madden
next prev parent reply other threads:[~2023-10-27 5:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-23 17:54 [Nouveau] How to enable OpenCL device in Clover ? Andrew Randrianasulu
2023-10-27 5:35 ` Timothy Maden [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-08 2:09 Timothy Madden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='uhfi69$eil$1@ciao.gmane.io' \
--to=terminatorul@gmail.com \
--cc=nouveau@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.