dev-python / pycuda

Python wrapper for NVIDIA CUDA

Official package sites : https://github.com/inducer/pycuda · https://mathema.tician.de/software/pycuda/ · https://pypi.org/project/pycuda/ ·

v2025.1.3-r1 :: 0 :: gentoo

Modified
License
Apache-2.0 MIT
Keywords
~amd64
USE flags
debug examples test

General

debug
Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
examples
Install examples, usually source code
test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

python_targets

python3_12
Build with Python 3.12
python3_13
Build with Python 3.13
python3_14
Build with Python 3.14

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-libs / boost : Boost Libraries for C++

dev-python / decorator : Simplifies the usage of decorators for the average programmer

dev-python / mako : A Python templating language

dev-python / numpy : Fast array and numerical python library

dev-python / platformdirs : A small Python module for determining appropriate platform-specific dirs

dev-python / pytools : Collection of tools missing from the Python standard library

dev-util / nvidia-cuda-toolkit : NVIDIA CUDA Toolkit (compiler and friends)

x11-drivers / nvidia-drivers : NVIDIA Accelerated Graphics Driver

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-libs / boost : Boost Libraries for C++

dev-python / decorator : Simplifies the usage of decorators for the average programmer

dev-python / mako : A Python templating language

dev-python / numpy : Fast array and numerical python library

dev-python / platformdirs : A small Python module for determining appropriate platform-specific dirs

dev-python / pytools : Collection of tools missing from the Python standard library

dev-util / nvidia-cuda-toolkit : NVIDIA CUDA Toolkit (compiler and friends)

x11-drivers / nvidia-drivers : NVIDIA Accelerated Graphics Driver

516572
dev-python/pycuda: uses RESTRICT=userpriv
924401
dev-python/pycuda-2024.1 fails to compile: integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type udt_builtin_mixture_enum [-Wenum-constexpr-conversion]
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pycuda: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/pycuda: error out early w/o accessible NVIDIA GPU
When no NVIDIA GPU is available, there are a few options: 1) Warn or silently skip tests which is unfortunate if you really want the tests to run, and I'd say the common case is you do want that. The only time you *don't* is in the tinderbox scenario where you're not actually using many/most/all of the things you install. Even if you're a user running tests because you have it installed, you likely want the tests to run (not just developers) for that package. We've had cases where these smart warnings or skips are broken where we've missed out on real test coverage for no good reason. A recent example is d3f2238d418dfe4324f65b391d144b2117263888. 2) Fail hard if it's not accessible, which may mean there's no such GPU at all, or just that there's missing permissions. The only case this seems to inconvenience is tinderboxes, which seems like an acceptable trade-off here. Note that userpriv is still seemingly an issue even w/ the portage user being in the video group but maybe I'm missing something there as I'm a little surprised by that. Bug: https://bugs.gentoo.org/516572 Closes: https://bugs.gentoo.org/981024 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/pycuda: dep fixes
Bug: https://bugs.gentoo.org/947202 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/pycuda: misc tweaks
* Use edo * Enable DISTUTILS_EXT * Run tests in parallel * Disable plugins w/ EPYTEST_PLUGINS=() * Fix running tests (couldn't import before) Signed-off-by: Sam James <sam@gentoo.org>
Hank Leininger · gentoo
dev-python/pycuda: add 2025.1.3
Bug: https://bugs.gentoo.org/952369 Closes: https://bugs.gentoo.org/947202 Closes: https://bugs.gentoo.org/932712 Signed-off-by: Hank Leininger <hlein@korelogic.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1494 Merges: https://codeberg.org/gentoo/gentoo/pulls/1494 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pycuda: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
dev-python/pycuda: add 2024.1
Closes: https://bugs.gentoo.org/921433 Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pycuda: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Pacho Ramos · gentoo
dev-python/pycuda: add 2022.2.2
Closes: https://bugs.gentoo.org/896828 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pycuda: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pycuda: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-python/pycuda: add 2021.1, enable py3.10
Also: - use pep517=setuptools - depend on nvidia-cuda-toolkit[profiler] wrt bug #748537 - drop two no-op sed expressions (was no-op in previous version too) - only restrict userpriv when running tests - EPREFIX->ESYSROOT, these paths aren't stored as far as I can see - update LICENSE, did not see any reference to GPL-2 - misc cleanups Unsure if entirely setup right as I don't use this nor dug deep, and two failing tests on my hardware (with any python version) and couldn't get the old version's test suite to run right to compare (90% failures). Closes: https://bugs.gentoo.org/748537 Closes: https://bugs.gentoo.org/845795 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Remove obsolete values from PYTHON_COMPAT
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
dev-python/pycuda: Do not depend on setuptools
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
dev-python/pycuda: Remove live ebuild
* It's hopelessly broken right now, and 2019.1.2 works for the time being. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
David Seifert · gentoo
dev-python/pycuda: Remove old 2018.1.1
Closes: https://bugs.gentoo.org/719396 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
David Seifert · gentoo
dev-python/pycuda: Version bump to 2019.1.2
Bug: https://bugs.gentoo.org/719396 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pycuda: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
dev-python/pycuda: Remove old
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
dev-python/pycuda: Remove Py2
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
dev-python/pycuda: Remove old
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pycuda: [QA] Fix MissingTestRestrict
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Remove python3_4 PYTHON_COMPAT correctly
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Jan Vesely · gentoo
dev-python/pycuda: Bump version to 2018.1.1
v2: Update copyright header Use EAPI=7 Update pytest invocation Drop redundant rm line Allow acess to /dev/nvidia-uvm{,-tools} in test phase Bug: https://bugs.gentoo.org/637090 Closes: https://github.com/gentoo/gentoo/pull/10456 Signed-off-by: Jan Vesely <jano.vesely@gmail.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Pacho Ramos · gentoo
dev-python/pycuda: Support python3.6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Michael Mair-Keimberger · gentoo
dev-python/pycuda: use HTTPS
Michael Mair-Keimberger · gentoo
update pypi HOMEPAGE to avoid redirection
Closes: https://github.com/gentoo/gentoo/pull/8080
Mike Gilbert · gentoo
Replace pypi.python.org with pypi.org in HOMEPAGE
Bug: https://bugs.gentoo.org/653540
Sébastien Fabbro · gentoo
dev-python/pycuda: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Pacho Ramos · gentoo
dev-python/pycuda: Support newer python
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
T. Malfatti · gentoo
media-libs/portaudio: Version bump
Michał Górny · gentoo
global: Drop dead implementations from PYTHON_COMPAT
David Seifert · gentoo
dev-python/pycuda: Add sub-slot operator for dev-libs/boost
Package-Manager: portage-2.3.0
Marius Brehler · gentoo
dev-python/pycuda: Version bump to 2016.1.2
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=583020 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2119 Signed-off-by: David Seifert <soap@gentoo.org>
Justin Lecher · gentoo
dev-python/pycuda: Check BUILD_DIR existance before creation
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=568290 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Mike Frysinger · gentoo
fix various encoding corruption
Justin Lecher · gentoo
Use https by default
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed