Commit Graph

17 Commits

Author SHA1 Message Date
Jussi Pakkanen ec5baa62c8
Merge pull request #8950 from dcbaker/submit/import-required-disabled
Add required and disabled to import, modules.found method
2021-07-03 14:00:47 +03:00
Olexa Bilaniuk 5bb93490c4 Add minimum NVIDIA driver version entry in table for newly-released CUDA Toolkit 11.4.0.
We skip 11.3.1 because it shares the same version requirements as 11.3.0.
2021-07-01 21:16:54 +03:00
Dylan Baker 4a0a6a8083 modules: modules need to return either an ExtensionModlue or a
NewExtensionModule object

So that we get the found() method.
2021-06-30 14:07:26 -07:00
Daniel Mensinger 34c28dc92c holders: remove unholder 2021-06-18 23:48:33 +02:00
Eli Schwartz c3f5c2e745 cuda module: fully buy into new modules API
In commit 3340284805 the new ModuleObject
API got further updated to hide self.interpreter; at the time, the CUDA
module got transferred over to the wrapper which does provide it.

But it works fine without self.interpreter, so let's just use the best
base class.
2021-06-09 10:36:02 -04:00
Xavier Claessens 3340284805 modules: Stop using InterpreterObject
Custom objects returned by modules must be subclass of ModuleObject and
have the state argument in its methods.

Add MutableModuleObject base class for objects that needs to be deep
copied on assignation.
2021-05-28 15:17:10 -04:00
Olexa Bilaniuk 53fe7c2f0a Update CUDA Toolkit driver version table. 2021-04-26 23:34:40 +01:00
Olexa Bilaniuk c4e4363483 Port CUDA module to new API. 2021-03-05 06:57:40 -05:00
Olexa Bilaniuk 8b784e7008 CUDA Toolkit 11.2.1 has been released, update version table
Strangely, the minimum version of CUDA Toolkit 11.2.0 has also been
updated - downwards. We pick up this change as well.
2021-02-16 14:46:17 -05:00
Olexa Bilaniuk 325b01066a Quick update of table of CUDA Toolkit vs. NVIDIA driver versions. 2021-02-02 19:08:54 +00:00
Olexa Bilaniuk 3f6977c866 Update CUDA module's nvcc_arch_flags() and nvcc_arch_readable() for new
CUDA Toolkits.

Also harden internal logic and add several asserts in the testcase.
2020-11-05 14:50:22 -05:00
Olexa Bilaniuk cfd31e38a8 Add newer CUDA Toolkit version entries.
Also, remove the possibility of passing in a compiler instance to
min_driver_version. This is because the NVCC compiler instance is,
as of CUDA Toolkit 11.0, no longer guaranteed to be versioned
identically to the toolkit itself.
2020-11-05 14:50:22 -05:00
Olexa Bilaniuk bbaacc0a63 Add table entry for CUDA Toolkit 10.2.89. 2019-11-21 13:53:08 -05:00
Olexa Bilaniuk ecdef0d005 Add table entry for CUDA Toolkit 10.1. 2019-02-27 14:08:30 +02:00
Olexa Bilaniuk 6d15594d44 Correct Volta+Tegra -> Xavier. 2019-02-24 09:14:41 -05:00
Olexa Bilaniuk e54fd996bb Allow 'Auto'-mode flags to use the compiler's detected GPU
architectures.
2019-02-24 09:02:57 -05:00
Olexa Bilaniuk 592af0b1af Add unstable CUDA module.
Includes three general utility functions connected to CUDA, in
particular the crafting of -gencode flags as done in CMake:

    https://github.com/Kitware/CMake/blob/master/Modules/FindCUDA/
select_compute_arch.cmake
2019-02-02 22:49:02 -05:00