Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-samples
/ functions
Functions
3,151 in github.com/NVIDIA/cuda-samples
⨍
Functions
3,151
◇
Types & classes
550
↓ 3 callers
Function
mm_read_mtx_crd_data
cpp/4_CUDA_Libraries/cuSolverRf/mmio.c:254
↓ 3 callers
Function
mm_read_mtx_crd_data
cpp/4_CUDA_Libraries/cuSolverSp_LinearSolver/mmio.c:257
↓ 3 callers
Function
mm_typecode_to_str
cpp/4_CUDA_Libraries/cuSolverSp_LowlevelQR/mmio.c:429
↓ 3 callers
Function
mm_typecode_to_str
cpp/4_CUDA_Libraries/cuSolverSp_LowlevelCholesky/mmio.c:429
↓ 3 callers
Function
mm_typecode_to_str
cpp/4_CUDA_Libraries/cuSolverDn_LinearSolver/mmio.c:433
↓ 3 callers
Function
mm_typecode_to_str
cpp/4_CUDA_Libraries/cuSolverRf/mmio.c:426
↓ 3 callers
Function
mm_typecode_to_str
cpp/4_CUDA_Libraries/cuSolverSp_LinearSolver/mmio.c:429
↓ 3 callers
Function
normalize
cpp/5_Domain_Specific/nbody/bodysystem.h:107
↓ 3 callers
Function
normalize
cpp/8_Platform_Specific/Tegra/nbody_opengles/bodysystem.h:107
↓ 3 callers
Function
pow
cpp/2_Concepts_and_Techniques/interval/boost/numeric/interval/arith2.hpp:152
↓ 3 callers
Function
print_header
(title: str)
python/1_GettingStarted/systemInfo/systemInfo.py:55
↓ 3 callers
Function
push
(c: int)
python/2_CoreConcepts/greenContext/greenContext.py:176
↓ 3 callers
Function
quat_mul_vec3
cpp/5_Domain_Specific/vulkanImageCUDA/linmath.h:498
↓ 3 callers
Function
quat_mul_vec3
cpp/5_Domain_Specific/simpleVulkan/linmath.h:499
↓ 3 callers
Function
randData
/////////////////////////////////////////////////////////////////////////// Helper function, returning uniformly distributed random float in [low, hig
cpp/5_Domain_Specific/binomialOptions/binomialOptions.cpp:65
↓ 3 callers
Function
randData
cpp/5_Domain_Specific/binomialOptions_nvrtc/binomialOptions.cpp:69
↓ 3 callers
Function
randFloat
/////////////////////////////////////////////////////////////////////////// Common functions /////////////////////////////////////////////////////////
cpp/5_Domain_Specific/MonteCarloMultiGPU/MonteCarloMultiGPU.cpp:57
↓ 3 callers
Function
renderImage
render Mandelbrot image using CUDA or CPU
cpp/5_Domain_Specific/Mandelbrot/Mandelbrot.cpp:252
↓ 3 callers
Function
renderScene
cpp/5_Domain_Specific/smokeParticles/particleDemo.cpp:195
↓ 3 callers
Function
renderScene
/////////////////////////////////////////////////////////////////////////// render a simple 3D scene /////////////////////////////////////////////////
cpp/5_Domain_Specific/postProcessGL/main.cpp:325
↓ 3 callers
Method
reset
cpp/2_Concepts_and_Techniques/particles/particleSystem.cpp:427
↓ 3 callers
Method
reset
cpp/5_Domain_Specific/smokeParticles/ParticleSystem.cpp:267
↓ 3 callers
Function
rsqrtf
Common/helper_math.h:78
↓ 3 callers
Function
sdkLoadPGM
Common/helper_image.h:213
↓ 3 callers
Function
sdkSavePGM
Common/helper_image.h:309
↓ 3 callers
Function
selectDemo
cpp/5_Domain_Specific/nbody/nbody.cpp:598
↓ 3 callers
Function
selectDemo
cpp/8_Platform_Specific/Tegra/nbody_opengles/nbody_opengles.cpp:622
↓ 3 callers
Method
selectRng
cpp/4_CUDA_Libraries/randomFog/rng.cpp:205
↓ 3 callers
Function
should_bisect
cpp/2_Concepts_and_Techniques/interval/cuda_interval.h:116
↓ 3 callers
Function
simpleMallocMultiDeviceMmap
cpp/0_Introduction/vectorAddMMAP/multidevicealloc_memmap.cpp:32
↓ 3 callers
Function
startJulia
cpp/5_Domain_Specific/Mandelbrot/Mandelbrot.cpp:203
↓ 3 callers
Method
step
step the simulation
cpp/5_Domain_Specific/smokeParticles/ParticleSystem.cpp:105
↓ 3 callers
Function
svrand
random signed vector
cpp/5_Domain_Specific/smokeParticles/ParticleSystem.cpp:166
↓ 3 callers
Method
update
step the simulation
cpp/2_Concepts_and_Techniques/particles/particleSystem.cpp:251
↓ 3 callers
Function
updateUniformBuffer
cpp/5_Domain_Specific/simpleVulkan/main.cpp:406
↓ 3 callers
Function
use_validation
convenience accessors
cpp/9_CUDA_Tile/Benchmark_Common/benchmark.h:55
↓ 3 callers
Function
vec3_mul_cross
cpp/5_Domain_Specific/vulkanImageCUDA/linmath.h:59
↓ 3 callers
Function
vec3_mul_cross
cpp/5_Domain_Specific/simpleVulkan/linmath.h:60
↓ 3 callers
Function
vec4_mul_inner
cpp/5_Domain_Specific/vulkanImageCUDA/linmath.h:98
↓ 3 callers
Function
vec4_mul_inner
cpp/5_Domain_Specific/simpleVulkan/linmath.h:99
↓ 3 callers
Function
writeVectorMatlab
cpp/2_Concepts_and_Techniques/eigenvalues/matlab.h:109
↓ 2 callers
Function
BlackScholesCall
cpp/5_Domain_Specific/MonteCarloMultiGPU/MonteCarlo_gold.cpp:66
↓ 2 callers
Function
CND
Polynomial approximation of cumulative normal distribution function
cpp/5_Domain_Specific/MonteCarloMultiGPU/MonteCarlo_gold.cpp:53
↓ 2 callers
Function
CND
cpp/5_Domain_Specific/BlackScholes_nvrtc/BlackScholes_gold.cpp:34
↓ 2 callers
Function
CND
/////////////////////////////////////////////////////////////////////////// Polynomial approximation of cumulative normal distribution function //////
cpp/5_Domain_Specific/BlackScholes/BlackScholes_gold.cpp:33
↓ 2 callers
Function
CND
////////////////////////////////////////////////////////////////////////// Polynomial approximation of cumulative normal distribution function ///////
cpp/5_Domain_Specific/binomialOptions/binomialOptions_gold.cpp:37
↓ 2 callers
Function
CND
cpp/5_Domain_Specific/binomialOptions_nvrtc/binomialOptions_gold.cpp:37
↓ 2 callers
Function
CheckCompiled
Checks if the shader is compiled.
cpp/8_Platform_Specific/Tegra/nbody_opengles/render_particles.cpp:249
↓ 2 callers
Function
ConfigParser_GetSectionIndexByName
cpp/8_Platform_Specific/Tegra/cudaNvSciNvMedia/nvmedia_utils/config_parser.cpp:54
↓ 2 callers
Function
Downscale
////////////////////////////////////////////////////////////////////////// \brief resize image \param[in] src image to downscale \param[in]
cpp/5_Domain_Specific/HSOpticalFlow/flowGold.cpp:131
↓ 2 callers
Function
EGLStreamFini
cpp/2_Concepts_and_Techniques/EGLStream_CUDA_CrossGPU/eglstrm_common.cpp:228
↓ 2 callers
Function
EGLStreamInit
cpp/2_Concepts_and_Techniques/EGLStream_CUDA_CrossGPU/eglstrm_common.cpp:69
↓ 2 callers
Function
FinalErrorCheck
cpp/2_Concepts_and_Techniques/threadMigration/threadMigration.cpp:283
↓ 2 callers
Method
GetValueString
Common/param.h:99
↓ 2 callers
Method
Init
cpp/5_Domain_Specific/simpleD3D12/d3dx12.h:710
↓ 2 callers
Function
InitImage
cpp/8_Platform_Specific/Tegra/cudaNvSciNvMedia/nvmedia_utils/image_utils.cpp:675
↓ 2 callers
Method
IsQAReadback
Common/rendercheck_gl.h:104
↓ 2 callers
Method
IsValid
cpp/5_Domain_Specific/smokeParticles/framebufferObject.cpp:249
↓ 2 callers
Function
LoadBMPFile
cpp/2_Concepts_and_Techniques/imageDenoising/bmploader.cpp:67
↓ 2 callers
Function
LoadImageAsFP32
////////////////////////////////////////////////////////////////////////// \brief load 4-channel unsigned byte image and convert it to single channel
cpp/5_Domain_Specific/HSOpticalFlow/main.cpp:87
↓ 2 callers
Function
RandomInit
Allocates an array with random float entries.
cpp/0_Introduction/simpleDrvRuntime/simpleDrvRuntime.cpp:196
↓ 2 callers
Function
RandomInit
Allocates an array with random float entries.
cpp/0_Introduction/vectorAddMMAP/vectorAddMMAP.cpp:256
↓ 2 callers
Function
RandomInit
Allocates an array with random float entries.
cpp/0_Introduction/vectorAddDrv/vectorAddDrv.cpp:220
↓ 2 callers
Function
ReadImage
cpp/8_Platform_Specific/Tegra/cudaNvSciNvMedia/nvmedia_utils/image_utils.cpp:653
↓ 2 callers
Method
Signal
Common/UtilNPP/Signal.h:39
↓ 2 callers
Function
SubroutineDCTvector
************************************************************************** * Performs DCT of vector of 8 elements. * * \param FirstIn [IN] - P
cpp/2_Concepts_and_Techniques/dct8x8/DCT8x8_Gold.cpp:264
↓ 2 callers
Function
SubroutineIDCTvector
************************************************************************** * Performs IDCT of vector of 8 elements. * * \param FirstIn [IN] -
cpp/2_Concepts_and_Techniques/dct8x8/DCT8x8_Gold.cpp:305
↓ 2 callers
Function
Tex2D
////////////////////////////////////////////////////////////////////////// \brief host texture fetch read from arbitrary position within image using
cpp/5_Domain_Specific/HSOpticalFlow/flowGold.cpp:45
↓ 2 callers
Function
Upscale
////////////////////////////////////////////////////////////////////////// \brief upscale one component of a displacement field \param[in] src
cpp/5_Domain_Specific/HSOpticalFlow/flowGold.cpp:163
↓ 2 callers
Function
UsageSP
cpp/4_CUDA_Libraries/cuSolverSp_LowlevelQR/cuSolverSp_LowlevelQR.cpp:52
↓ 2 callers
Function
UsageSP
cpp/4_CUDA_Libraries/cuSolverSp_LowlevelCholesky/cuSolverSp_LowlevelCholesky.cpp:36
↓ 2 callers
Function
WriteFloFile
////////////////////////////////////////////////////////////////////////// \brief save optical flow in format described on vision.middlebury.edu/flow
cpp/5_Domain_Specific/HSOpticalFlow/main.cpp:49
↓ 2 callers
Function
__savePPM
Common/helper_image.h:268
↓ 2 callers
Function
_align_down
(n: int, k: int)
python/2_CoreConcepts/greenContext/greenContext.py:119
↓ 2 callers
Function
_find_working_split
Probe the driver for a (long, critical) split it actually accepts. Escalates the alignment granularity from `min_partition_size` upward in
python/2_CoreConcepts/greenContext/greenContext.py:139
↓ 2 callers
Function
_get_relu_kernels
Get or compile the ReLU kernels for a given device. Parameters ---------- device : Device CUDA device object Returns
python/3_FrameworkInterop/customTensorFlowKernel/customTensorFlowKernel.py:109
↓ 2 callers
Function
_run_one
Launch the delay kernel on `long_stream`, wait `launch_gap_s` on the host, launch the critical kernel on `critical_stream`, and time both wit
python/2_CoreConcepts/greenContext/greenContext.py:339
↓ 2 callers
Function
abs
Common/helper_math.h:1408
↓ 2 callers
Function
addFileToProgram
cpp/7_libNVVM/ptxgen/ptxgen.c:80
↓ 2 callers
Function
addSphere
cpp/2_Concepts_and_Techniques/particles/particles.cpp:325
↓ 2 callers
Method
addSphere
cpp/2_Concepts_and_Techniques/particles/particleSystem.cpp:463
↓ 2 callers
Function
animation
cpp/5_Domain_Specific/marchingCubes/marchingCubes.cpp:267
↓ 2 callers
Function
appendTileBlockMacroOptions
cpp/9_CUDA_Tile/tileMatmulAutotuner/backend_common.h:171
↓ 2 callers
Function
attachShader
Attach shader to a program
cpp/4_CUDA_Libraries/oceanFFT/oceanFFT.cpp:827
↓ 2 callers
Method
backward
Backward pass: compute gradient. For y = x², the derivative is dy/dx = 2x Therefore: grad_x = grad_output * 2x Para
python/3_FrameworkInterop/customPyTorchKernel/customPyTorchKernel.py:191
↓ 2 callers
Method
beginSceneRender
render scene depth to texture (this is to ensure that particle are correctly occluded in the low-resolution render buffer)
cpp/5_Domain_Specific/smokeParticles/SmokeRenderer.cpp:412
↓ 2 callers
Function
beginWinCoords
Common/paramgl.h:46
↓ 2 callers
Function
bench_iters
cpp/9_CUDA_Tile/Benchmark_Common/benchmark.h:57
↓ 2 callers
Function
benchmark_kernel_1d
Benchmark a 1D kernel with given threads-per-block configuration. Uses CUDA events for accurate GPU timing. Returns timing statistics as
python/2_CoreConcepts/launchConfigTuning/launchConfigTuning.py:124
↓ 2 callers
Method
bindRenderPath
bind to the FrameBuffer Object
Common/rendercheck_gl.h:1085
↓ 2 callers
Function
binomialOptionsGPU
cpp/5_Domain_Specific/binomialOptions_nvrtc/binomialOptions_gpu.cpp:68
↓ 2 callers
Function
ceilDiv
cpp/9_CUDA_Tile/tileMatmulAutotuner/backend_common.h:78
↓ 2 callers
Function
checkOrder
/////////////////////////////////////////////////////////////////////////// Helper functions /////////////////////////////////////////////////////////
cpp/0_Introduction/mergeSort/mergeSort_host.cpp:38
↓ 2 callers
Function
checkbuf
cpp/2_Concepts_and_Techniques/EGLStream_CUDA_Interop/cuda_consumer.cpp:256
↓ 2 callers
Function
clamp_0_255
************************************************************************** * The routine clamps the input value to integer byte range [0, 255] * * \p
cpp/2_Concepts_and_Techniques/dct8x8/BmpUtil.cpp:53
↓ 2 callers
Function
cleanup
cpp/4_CUDA_Libraries/oceanFFT/oceanFFT.cpp:604
↓ 2 callers
Function
cleanup
Global cleanup function Shared by both GL and non-GL code paths
cpp/3_CUDA_Features/bindlessTexture/bindlessTexture.cpp:221
↓ 2 callers
Function
cleanup
cpp/5_Domain_Specific/recursiveGaussian/recursiveGaussian.cpp:202
↓ 2 callers
Function
cleanup
cpp/8_Platform_Specific/Tegra/fluidsGLES/fluidsGLES.cpp:601
↓ 2 callers
Function
cleanupNvMedia
cpp/8_Platform_Specific/Tegra/cudaNvSciNvMedia/nvmedia_producer.cpp:333
← previous
next →
301–400 of 3,151, ranked by callers