| /petsc/src/mat/impls/htool/ |
| H A D | htool.hpp | 19 MatHtoolKernelFn *&kernel; member in WrapperHtool 24 …atHtoolKernelFn *&g, void *kernelctx) : VirtualGenerator<PetscScalar>(), kernel(g), sdim(dim), ctx… in WrapperHtool() 30 PetscCallAbort(PETSC_COMM_SELF, kernel(sdim, M, N, rows, cols, ptr, ctx)); in copy_submatrix() 50 MatHtoolKernelFn *kernel; member 60 MatHtoolKernelFn *kernel; member
|
| H A D | htool.cxx | 476 if (a->kernel) a->wrapper = new WrapperHtool(a->dim, a->kernel, a->kernelctx); in MatAssemblyEnd_Htool() 610 static PetscErrorCode MatHtoolSetKernel_Htool(Mat A, MatHtoolKernelFn *kernel, void *kernelctx) in MatHtoolSetKernel_Htool() argument 616 a->kernel = kernel; in MatHtoolSetKernel_Htool() 619 if (a->kernel) a->wrapper = new WrapperHtool(a->dim, a->kernel, a->kernelctx); in MatHtoolSetKernel_Htool() 637 PetscErrorCode MatHtoolSetKernel(Mat A, MatHtoolKernelFn *kernel, void *kernelctx) in MatHtoolSetKernel() argument 641 if (!kernelctx) PetscValidFunction(kernel, 2); in MatHtoolSetKernel() 642 if (!kernel) PetscAssertPointer(kernelctx, 3); in MatHtoolSetKernel() 643 …PetscTryMethod(A, "MatHtoolSetKernel_C", (Mat, MatHtoolKernelFn *, void *), (A, kernel, kernelctx)… in MatHtoolSetKernel() 823 PetscCall(generator->kernel(sdim, N, M, cols, rows, ptr, generator->kernelctx)); in GenEntriesTranspose() 865 c->kernel = GenEntriesTranspose; in MatTranspose_Htool() [all …]
|
| /petsc/doc/developers/ |
| H A D | design.md | 8 kernel
|
| H A D | kernel.md | 4 component-based libraries; these are referred to as the PETSc kernel {cite}`bgms98`. 5 The source code for the kernel is in `src/sys`. It contains systematic 276 and profiling within the PETSc kernel. The interface for profiling in
|
| /petsc/src/ksp/ksp/tests/raja/ |
| H A D | ex1.raja.cxx | 195 …RAJA::kernel<jacobiSeqNestedPolicy>(RAJA::make_tuple(jacobiRange, jacobiRange), [=](RAJA::Index_ty… in main() 242 …RAJA::kernel<jacobiOmpNestedPolicy>(RAJA::make_tuple(jacobiRange, jacobiRange), [=](RAJA::Index_ty… in main() 295 …RAJA::kernel<jacobiCUDANestedPolicy>(RAJA::make_tuple(jacobiRange, jacobiRange), [=] RAJA_DEVICE(R… in main() 357 …RAJA::kernel<jacobiHIPNestedPolicy>(RAJA::make_tuple(jacobiRange, jacobiRange), [=] RAJA_DEVICE(RA… in main() 417 …RAJA::kernel<jacobiSeqNestedPolicy>(RAJA::make_tuple(gridRange, gridRange), [=](RAJA::Index_type t… in computeErr()
|
| /petsc/src/mat/impls/h2opus/cuda/ |
| H A D | math2opus.cu | 179 PetscFunctionGenerator<PetscScalar> *kernel; member 224 delete a->kernel; in MatDestroy_H2OPUS() 844 PetscBool kernel = PETSC_FALSE; in MatAssemblyEnd_H2OPUS() local 881 if (a->kernel) { in MatAssemblyEnd_H2OPUS() 882 …ntryGen<PetscScalar, H2OPUS_HWTYPE_CPU, PetscFunctionGenerator<PetscScalar>> entry_gen(*a->kernel); in MatAssemblyEnd_H2OPUS() 891 kernel = PETSC_TRUE; in MatAssemblyEnd_H2OPUS() 912 if (!kernel && a->sampler && a->sampler->GetSamplingMat()) { in MatAssemblyEnd_H2OPUS() 1044 …if (op == MAT_COPY_VALUES && b->kernel) a->kernel = new PetscFunctionGenerator<PetscScalar>(*b->ke… in MatDuplicate_H2OPUS() 1108 …PetscCall(PetscViewerASCIIPrintf(view, " H-Matrix constructed from %s\n", h2opus->kernel ? "Kerne… in MatView_H2OPUS() 1111 if (!h2opus->kernel) { in MatView_H2OPUS() [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex241.c | 44 MatHtoolKernelFn *kernel = GenEntries; in main() local 71 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, m, M, M, dim, coords, coords, kernel, gcoo… in main() 113 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, m, M, M, dim, coords, coords, kernel, gcoo… in main() 175 kernel = GenEntriesRectangular; in main() 178 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, n, M, N, dim, coords, scoords, kernel, ctx… in main()
|
| H A D | ex246.cxx | 52 MatHtoolKernelFn *kernel = GenEntries; in main() local 78 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, m, M, M, dim, coords, coords, kernel, gcoo… in main()
|
| H A D | ex268.c | 28 MatHtoolKernelFn *kernel = GenEntries; in main() local 53 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, m, M, M, dim, coords, coords, kernel, gcoo… in main()
|
| H A D | ex66.c | 40 …PetscBool testlayout = PETSC_FALSE, flg, symm = PETSC_FALSE, Asymm = PETSC_TRUE, kernel = … in main() local 64 PetscCall(PetscOptionsGetBool(NULL, NULL, "-kernel", &kernel, NULL)); in main() 113 if (kernel || !randommat) { in main() 123 if (kernel) { in main()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex82.c | 36 MatHtoolKernelFn *kernel = GenEntries; in main() local 56 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, m, M, M, dim, coords, coords, kernel, gcoo… in main()
|
| /petsc/src/mat/impls/sell/seq/seqhip/ |
| H A D | sellhip.hip.cxx | 869 PetscInt kernel, blocky; in MatSetFromOptions_SeqSELLHIP() local 879 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mat_sell_spmv_hip_kernel", &kernel, &flg)); in MatSetFromOptions_SeqSELLHIP() 881 …Check(kernel >= 0 && kernel <= 9, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Wrong kernel choice:… in MatSetFromOptions_SeqSELLHIP() 882 hipstruct->kernelchoice = kernel; in MatSetFromOptions_SeqSELLHIP() 883 …if (kernel == 8) PetscCall(PetscOptionsGetInt(NULL, NULL, "-mat_sell_spmv_hip_chunksperblock", &hi… in MatSetFromOptions_SeqSELLHIP()
|
| /petsc/src/mat/impls/sell/seq/seqcuda/ |
| H A D | sellcuda.cu | 876 PetscInt kernel, blocky; in MatSetFromOptions_SeqSELLCUDA() local 886 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mat_sell_spmv_cuda_kernel", &kernel, &flg)); in MatSetFromOptions_SeqSELLCUDA() 888 …Check(kernel >= 0 && kernel <= 9, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Wrong kernel choice:… in MatSetFromOptions_SeqSELLCUDA() 889 cudastruct->kernelchoice = kernel; in MatSetFromOptions_SeqSELLCUDA() 890 …if (kernel == 8) PetscCall(PetscOptionsGetInt(NULL, NULL, "-mat_sell_spmv_cuda_chunksperblock", &c… in MatSetFromOptions_SeqSELLCUDA()
|
| /petsc/doc/changes/ |
| H A D | 321.md | 70 …o let `VecMDot()`, `VecMTDot()` use BLAS2 `gemv()` instead of custom unrolled kernel. Default is on 71 …_use_gemv` to let `VecMAXPY()` use BLAS2 `gemv()` instead of custom unrolled kernel. Default is off
|
| H A D | 39.md | 65 - Added a new Mat type MATSELL, featuring a fast MatMult() kernel on
|
| H A D | 316.md | 43 - Add GPU event timers to capture kernel execution time accurately
|
| /petsc/doc/manual/ |
| H A D | getting_started.md | 517 (or multiple processes). GPUs also support the lower two levels via kernel functions ({any}`sec_gpu… 635 ## GPU kernel parallelism
|
| H A D | profiling.md | 677 annotated with PETSc events (methods) and Kokkos device kernel names.
|
| H A D | vec.md | 436 address depending on the type of the vector. One can then launch a GPU kernel function that accesse…
|
| /petsc/doc/faq/ |
| H A D | index.md | 1732 $ sudo echo 0 > /proc/sys/kernel/yama/ptrace_scope 2048 - Using the [bisect](https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-bisect.html) 2089 See [git-bisect(1)](https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-bisect.html) and …
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/ |
| H A D | LICENSE | 323 components (compiler, kernel, and so on) of the operating system on
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 1876 (dpm/erosion/smoothing/kernel 1) 2177 (dpm/average/kernel-gaussian 1.) 2178 (dpm/average/kernel 2) 2226 (dpm/variable-interpolation/kernel-gaussian 1.) 2227 (dpm/variable-interpolation/kernel 2) 6502 (narrow-gaps/modeling/decelerated/constant-kernel-fraction 0.55) 6503 (narrow-gaps/modeling/resisted/constant-kernel-fraction 1.) 6504 (narrow-gaps/modeling/udf/constant-kernel-fraction 1.) 6505 (narrow-gaps/modeling/sponge/constant-kernel-fraction 0.) 6704 (dynamesh/surf-deform/dx-smoothing/n-to-f-kernel 0) [all …]
|
| /petsc/doc/tutorials/physics/ |
| H A D | guide_to_stokes.md | 59 For example, the kernel for the continuity equation, paired with the pressure test function, is cal…
|
| /petsc/doc/ |
| H A D | petsc.bib | 19123 title = {Pipelined iterative solvers with kernel fusion for graphics processing units}, 20482 \url{https://www.kernel.org/pub/software/scm/git/docs/gitworkflows.html}} 22179 title = {{ASKIT:} An efficient, parallel library for high-dimensional kernel summations}, 22186 title = {Improved fast gauss transform and efficient kernel density estimation}, 22206 title = {GPUML: Graphical processors for speeding up kernel machines},
|