cuda-samples/12.2

Common headers from NVIDIA CUDA Samples - samples for CUDA developers which demonstrate features in CUDA Toolkit
Recipe info
2023-08-09

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
cuda-samples/12.2

Using cuda-samples

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
cuda-samples/12.2
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("cuda-samples/12.2")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): cuda-samples
  • CMake target name(s): cuda-samples::cuda-samples
  • pkg-config file name(s): cuda-samples.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(cuda-samples REQUIRED)
# ...
target_link_libraries(YOUR_TARGET cuda-samples::cuda-samples)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the cuda-samples homepage listed above:

#include "Common/UtilNPP/Exceptions.h"
#include "Common/UtilNPP/Image.h"
#include "Common/UtilNPP/ImageAllocatorsCPU.h"
#include "Common/UtilNPP/ImageAllocatorsNPP.h"
#include "Common/UtilNPP/ImageIO.h"
#include "Common/UtilNPP/ImagePacked.h"
#include "Common/UtilNPP/ImagesCPU.h"
#include "Common/UtilNPP/ImagesNPP.h"
#include "Common/UtilNPP/Pixel.h"
#include "Common/UtilNPP/Signal.h"
#include "Common/UtilNPP/SignalAllocatorsCPU.h"
#include "Common/UtilNPP/SignalAllocatorsNPP.h"
#include "Common/UtilNPP/SignalsCPU.h"
#include "Common/UtilNPP/SignalsNPP.h"
#include "Common/drvapi_error_string.h"
#include "Common/dynlink_d3d10.h"
#include "Common/dynlink_d3d11.h"
#include "Common/exception.h"
#include "Common/helper_cuda.h"
#include "Common/helper_cuda_drvapi.h"
#include "Common/helper_cusolver.h"
#include "Common/helper_functions.h"
#include "Common/helper_gl.h"
#include "Common/helper_image.h"
#include "Common/helper_math.h"
#include "Common/helper_multiprocess.cpp"
#include "Common/helper_multiprocess.h"
#include "Common/helper_nvJPEG.hxx"
#include "Common/helper_string.h"
#include "Common/helper_timer.h"
#include "Common/multithreading.cpp"
#include "Common/multithreading.h"
#include "Common/nvMath.h"
#include "Common/nvMatrix.h"
#include "Common/nvQuaternion.h"
#include "Common/nvShaderUtils.h"
#include "Common/nvVector.h"
#include "Common/nvrtc_helper.h"
#include "Common/param.h"
#include "Common/paramgl.h"
#include "Common/rendercheck_d3d10.cpp"
#include "Common/rendercheck_d3d10.h"
#include "Common/rendercheck_d3d11.cpp"
#include "Common/rendercheck_d3d11.h"
#include "Common/rendercheck_d3d9.cpp"
#include "Common/rendercheck_d3d9.h"
#include "Common/rendercheck_gl.h"
#include "Common/rendercheck_gles.h"
#include "UtilNPP/Exceptions.h"
#include "UtilNPP/Image.h"
#include "UtilNPP/ImageAllocatorsCPU.h"
#include "UtilNPP/ImageAllocatorsNPP.h"
#include "UtilNPP/ImageIO.h"
#include "UtilNPP/ImagePacked.h"
#include "UtilNPP/ImagesCPU.h"
#include "UtilNPP/ImagesNPP.h"
#include "UtilNPP/Pixel.h"
#include "UtilNPP/Signal.h"
#include "UtilNPP/SignalAllocatorsCPU.h"
#include "UtilNPP/SignalAllocatorsNPP.h"
#include "UtilNPP/SignalsCPU.h"
#include "UtilNPP/SignalsNPP.h"
#include "drvapi_error_string.h"
#include "dynlink_d3d10.h"
#include "dynlink_d3d11.h"
#include "exception.h"
#include "helper_cuda.h"
#include "helper_cuda_drvapi.h"
#include "helper_cusolver.h"
#include "helper_functions.h"
#include "helper_gl.h"
#include "helper_image.h"
#include "helper_math.h"
#include "helper_multiprocess.cpp"
#include "helper_multiprocess.h"
#include "helper_nvJPEG.hxx"
#include "helper_string.h"
#include "helper_timer.h"
#include "multithreading.cpp"
#include "multithreading.h"
#include "nvMath.h"
#include "nvMatrix.h"
#include "nvQuaternion.h"
#include "nvShaderUtils.h"
#include "nvVector.h"
#include "nvrtc_helper.h"
#include "param.h"
#include "paramgl.h"
#include "rendercheck_d3d10.cpp"
#include "rendercheck_d3d10.h"
#include "rendercheck_d3d11.cpp"
#include "rendercheck_d3d11.h"
#include "rendercheck_d3d9.cpp"
#include "rendercheck_d3d9.h"
#include "rendercheck_gl.h"
#include "rendercheck_gles.h"