aboutsummaryrefslogtreecommitdiff
path: root/test cases/cuda
AgeCommit message (Collapse)AuthorFilesLines
2021-10-27Fix crash when getting cuda optionsXavier Claessens3-2/+12
We could have an OptionOverrideProxy of an OptionOverrideProxy, recursively. This fix is a minimal subset of the refactoring I did in https://github.com/mesonbuild/meson/pull/9394. Instead of faking UserOption we can just do a shallow copy of one and set a new value on it. Fixes: #9448
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz15-16/+0
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-08-12Disable asan memory leak checks on a Cuda test.Jussi Pakkanen1-2/+5
2021-07-18Cuda: Add test for shared versioned internal libsDavid Seifert1-1/+3
2021-07-18Cuda: Add test for -isystem/usr/includeDavid Seifert1-2/+8
2021-07-18Cuda: Add test for -DNDEBUGDavid Seifert2-1/+5
2021-03-28Strip host-compiler -std flag from NVCC line.cudafix0572Olexa Bilaniuk2-0/+24
Closes #8523.
2021-02-22[CUDA] Bugfix: Forward sanitizer_*_args() methods to host compiler.Olexa Bilaniuk2-0/+34
Enables -Db_sanitize=undefined and company. Also serves as a testcase for NVCC comma-shielding: Because the test- case declares `b_sanitize=address,undefined`, the host GCC compiler needs `-fsanitize=address,undefined`, but this stands a danger of being split by NVCC when wrapped with `-Xcompiler=args,args`. Special, already-existing comma-shielding codepaths activate to prevent this splitting. Closes #8394.
2020-11-05Update CUDA module's nvcc_arch_flags() and nvcc_arch_readable() for newOlexa Bilaniuk1-0/+54
CUDA Toolkits. Also harden internal logic and add several asserts in the testcase.
2020-11-05Add newer CUDA Toolkit version entries.Olexa Bilaniuk1-3/+3
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-10-16Add CUDA compiler header symbol testsCarlos Bederian1-0/+27
2020-09-02cuda: bump CUDA version since 3.0 is no longer supportedDaniel Mensinger1-2/+2
2020-09-02Add test case for cuda compiler setting fixMatt Madison3-0/+40
Signed-off-by: Matt Madison <matt@madison.systems>
2020-01-24Fix CUDA test without devices.Jan Alexander Steffens (heftig)1-10/+11
Getting the runtime version fails when no devices are present.
2019-12-23refactor: cuda no unused argsMichael Hirsch, Ph.D16-25/+25
2019-11-18Use strict function prototypesMichael Hirsch, Ph.D5-11/+11
2019-11-05dependency('cuda')Aleksey Gurtovoy17-0/+231
2019-09-24CUDA support on WindowsAleksey Gurtovoy8-0/+96
2019-02-28Fix nvcc error with threads dependency (4999)John M. Lindemon5-0/+132
2019-02-13Fixes for CUDA compiler shared library linking.Olexa Bilaniuk5-0/+131
Also adds test case for shared library linking. Closes #4912, at least on Linux. The future 0.50.0 does not yet claim to support CUDA on systems other than Linux and backends other than Ninja.
2019-02-02Add unstable CUDA module.Olexa Bilaniuk2-0/+46
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-01-21All the fixes needed to make work against current master.Jussi Pakkanen1-3/+0
2019-01-21Convert basic test to print out card info.Jussi Pakkanen1-4/+26
2019-01-21More tests and pic.Jussi Pakkanen7-0/+64
2019-01-21Clean up minor issues.Jussi Pakkanen1-6/+4
2019-01-21added cuda compilerBeau Johnston2-0/+18