Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904214 - profiles/arch/riscv/use.mask
Summary: profiles/arch/riscv/use.mask
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: riscv Linux
: Normal enhancement (vote)
Assignee: RISCV project
URL:
Whiteboard:
Keywords:
Depends on: 904198
Blocks:
  Show dependency tree
 
Reported: 2023-04-12 06:42 UTC by Andrew Cameron
Modified: 2023-04-25 19:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Working clinfo (clinfo,22.46 KB, text/plain)
2023-04-16 22:23 UTC, Andrew Cameron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cameron 2023-04-12 06:42:39 UTC
Please remove the entry opencl from the use.mask
My RISC-V VisionFive 2 SBC has a GPU that supports OpenCL
Comment 1 Larry the Git Cow gentoo-dev 2023-04-12 12:49:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a4bf32b5bbb41e3e6d784074bc373827d9fcd7b

commit 1a4bf32b5bbb41e3e6d784074bc373827d9fcd7b
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-04-12 12:48:09 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-04-12 12:48:09 +0000

    profiles/arch/riscv: Remove USE=opencl from use.mask
    
    Closes: https://bugs.gentoo.org/904214
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/arch/riscv/use.mask | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2023-04-12 13:14:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=195148ffef3abd3a6db5bacf9d3d4932b8073249

commit 195148ffef3abd3a6db5bacf9d3d4932b8073249
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-04-12 13:13:22 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-04-12 13:14:32 +0000

    Revert "profiles/arch/riscv: Remove USE=opencl from use.mask"
    
    We need to keyword libclc before unmasking the flag.
    This reverts commit 1a4bf32b5bbb41e3e6d784074bc373827d9fcd7b.
    
    Bug: https://bugs.gentoo.org/904214
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/arch/riscv/use.mask | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 3 Andrew Cameron 2023-04-16 22:23:07 UTC
Created attachment 860208 [details]
Working clinfo

Why is this listed as dependent on other BUGS?
I have a number of packages working using OpenCL on my RISC V VisionFive 2

Here is the working output from a pyopencl program

StarFive ~ # python test.py 
Execution time of test without OpenCL:  34.95394778251648 s
===============================================================
Platform name: PowerVR
Platform profile: EMBEDDED_PROFILE
Platform vendor: Imagination Technologies
Platform version: OpenCL 3.0 
---------------------------------------------------------------
Device name: PowerVR B-Series BXE-4-32
Device type: ALL | GPU
Device memory:  7927 MB
Device max clock speed: 594 MHz
Device compute units: 1
Execution time of test: 0.014561 s
Results OK
Comment 4 Jakov Smolić archtester gentoo-dev 2023-04-17 12:07:52 UTC
(In reply to Andrew Cameron from comment #3)
> Created attachment 860208 [details]
> Working clinfo
> 
> Why is this listed as dependent on other BUGS?

As you saw from the commits in this bug we can't remove the mask yet as not all packages are keyworded
Comment 5 Larry the Git Cow gentoo-dev 2023-04-25 19:29:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e5b6de43d96b2a2558f73cd50f1da10baaa6fb

commit 34e5b6de43d96b2a2558f73cd50f1da10baaa6fb
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-04-25 19:28:53 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-04-25 19:28:53 +0000

    profiles/arch/riscv: Unmask USE=opencl
    
    Closes: https://bugs.gentoo.org/904214
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/arch/riscv/use.mask | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)