History log of /petsc/src/sys/classes/random/impls/curand/curand.c (Results 1 – 25 of 47)
Revision Date Author Comments
# cd871708 16-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'cuda' into 'main'

Fix CUDA 13 API incompatibilities

See merge request petsc/petsc!8632


# 2695cf96 11-Sep-2025 Nuno Nobre <nuno.nobre@stfc.ac.uk>

Gather CUDA lib includes in petscdevice_cuda.h + disable cuSPARSE warnings using DISABLE_CUSPARSE_DEPRECATED

Defining DISABLE_CUSPARSE_DEPRECATED is Nvidia's recommended way of disabling cuSPARSE wa

Gather CUDA lib includes in petscdevice_cuda.h + disable cuSPARSE warnings using DISABLE_CUSPARSE_DEPRECATED

Defining DISABLE_CUSPARSE_DEPRECATED is Nvidia's recommended way of disabling cuSPARSE warnings
This avoids requiring -Wdeprecated-declarations - that can mask other (non-cuSPARSE) warnings

show more ...


# 5fe01c21 22-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hsuh/dense-lmvm-squashed' into 'main'

Dense LMVM

See merge request petsc/petsc!7371


# eb58fe77 14-Mar-2024 Hansol Suh <hsuh@anl.gov>

curand stream option feature added


# a7898f52 28-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d0b8c1c6 28-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-10-26/fix-sprng/release' into 'release'

Fix bug in sprng interface.

See merge request petsc/petsc!6967


# c31d2375 26-Oct-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix PetscRandom manual pages


# 9c5460f9 17-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'

Linter detect possible static functions

See merge request petsc/petsc!6796


# 66976f2f 14-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Add static to internal functions


# b3092ad0 10-Jun-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jed/fix-gcc13-warnings' into 'main'

Fix gcc-13 warnings

See merge request petsc/petsc!6516


# bcdedc73 09-Jun-2023 Jed Brown <jed@jedbrown.org>

Fix warning found by Pierre

/local/jolivet/petsc/src/sys/classes/random/impls/curand/curand.c: In function ‘PetscRandomGetValuesReal_CURAND’:
/local/jolivet/petsc/src/sys/classes/random/impls/curand

Fix warning found by Pierre

/local/jolivet/petsc/src/sys/classes/random/impls/curand/curand.c: In function ‘PetscRandomGetValuesReal_CURAND’:
/local/jolivet/petsc/src/sys/classes/random/impls/curand/curand.c:24:65: warning: operand of ‘?:’ changes signedness from ‘PetscInt’ {aka ‘int’} to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare]
24 | size_t nn = n < 0 ? (size_t)(-2 * n) : n; /* handle complex case */
| ^

Based-on-patch-by: Pierre Jolivet <pierre@joliv.et>

show more ...


# b3f1e23b 31-May-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-05-25/no-memcpy-ops' into 'main'

Don't use PetscMemcpy() or PetscArraycpy() to copy the ops struct

See merge request petsc/petsc!6507


# aea10558 25-May-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Don't use PetscMemcpy() or PetscArraycpy() to copy the ops struct


# 31d78bcd 02-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'

Feature: Non-discardable PetscErrorCode

See merge request petsc/petsc!5923


# 3ba16761 10-Dec-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make PetscErrorCode a non-discardable enum


# a44db9c6 06-Dec-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# c667d2e9 06-Dec-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/release/fix-cudand-seed' into 'release'

PETSCCURAND: use default seed, which is different in each MPI rank

See merge request petsc/petsc!5900


# 52f01483 05-Dec-2022 Jose E. Roman <jroman@dsic.upv.es>

PETSCCURAND: use default seed, which is different in each MPI rank

This fixes VecSetRandom() with VECMPICUDA that was generating the same
random values in each MPI process


# 061e922f 22-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'

Feature: Bicycle Storage Facility 2

See merge request petsc/petsc!5661


# d71ae5a4 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

source code format changes due to .clang-format changes


# b7124133 20-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-17/slimmer-petscobject' into 'main'

Feature: Slimmer PetscObject

See merge request petsc/petsc!5649


# 4dfa11a4 17-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Remove parent, parentid, flops, time, mem, and memchildren. Deprecate PetscLogObjectParent(), PetscLogObjectMemory(), and PetscNewLog()


# fb664f9e 10-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-08-29/petscdevicecontext-backend-update' into 'main'

Update PetscDevice and PetscDeviceContext backends

See merge request petsc/petsc!5566


# 0e6b6b59 29-Aug-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Rework PetscDeviceContext backends and supporting code:
- Add PETSC_DEVICE_HOST
- Add PetscDeviceAllocate()
- Add PetscDeviceMalloc()
- Add PetscDeviceDeallocate()
- Add PetscDeviceFree()
- Add Petsc

Rework PetscDeviceContext backends and supporting code:
- Add PETSC_DEVICE_HOST
- Add PetscDeviceAllocate()
- Add PetscDeviceMalloc()
- Add PetscDeviceDeallocate()
- Add PetscDeviceFree()
- Add PetscDeviceMemcopy()
- Add PetscDeviceArraycopy()

- Split petscdevice.h into petscdevice_cuda.h and petscdevice_hip.h
- Add petscdevice_cupm.h
- Extend cupm::Interface and cupm::BlasInterface classes
- Add more C++ utility wrappers

show more ...


# eea86af3 05-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-23/fix-sys-man' into 'main'

Fix up all manual pages in src/sys directory

See merge request petsc/petsc!5559


12