[requires]
cuda-kat/0.2
NoteSimplest use case consuming this recipe and assuming CMake as your local build tool:
If you are a new Conan user, we recommend reading the how to consume packages tutorial.If you need additional assistance, please ask a question in the Conan Center Index repository.
[requires]
cuda-kat/0.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-kat/0.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:
cuda-kat
cuda-kat::cuda-kat
cuda-kat.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(cuda-kat REQUIRED)
# ...
target_link_libraries(YOUR_TARGET cuda-kat::cuda-kat)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the cuda-kat
homepage listed above:
#include "cuda-kat.cuh"
#include "kat/common.hpp"
#include "kat/containers/array.hpp"
#include "kat/containers/detail/normal_iterator.hpp"
#include "kat/containers/gsl_span.hpp"
#include "kat/containers/span.hpp"
#include "kat/detail/constexpr_by_cpp_version.hpp"
#include "kat/detail/execution_space_specifiers.hpp"
#include "kat/detail/integer_sequence.hpp"
#include "kat/detail/pointers.cuh"
#include "kat/detail/range_access.hpp"
#include "kat/on_device/atomics.cuh"
#include "kat/on_device/builtins.cuh"
#include "kat/on_device/c_standard_library/string.cuh"
#include "kat/on_device/collaboration/block.cuh"
#include "kat/on_device/collaboration/grid.cuh"
#include "kat/on_device/collaboration/warp.cuh"
#include "kat/on_device/common.cuh"
#include "kat/on_device/constexpr_math.cuh"
#include "kat/on_device/detail/atomics.cuh"
#include "kat/on_device/detail/atomics/missing_in_cuda.cuh"
#include "kat/on_device/detail/builtins.cuh"
#include "kat/on_device/detail/itoa.cuh"
#include "kat/on_device/detail/shuffle.cuh"
#include "kat/on_device/grid_info.cuh"
#include "kat/on_device/math.cuh"
#include "kat/on_device/miscellany.cuh"
#include "kat/on_device/non-builtins.cuh"
#include "kat/on_device/ptx.cuh"
#include "kat/on_device/ptx/detail/define_macros.cuh"
#include "kat/on_device/ptx/detail/undefine_macros.cuh"
#include "kat/on_device/ptx/miscellany.cuh"
#include "kat/on_device/ptx/special_registers.cuh"
#include "kat/on_device/ptx/video_instructions.cuh"
#include "kat/on_device/ranges.cuh"
#include "kat/on_device/sequence_ops/block.cuh"
#include "kat/on_device/sequence_ops/common.cuh"
#include "kat/on_device/sequence_ops/grid.cuh"
#include "kat/on_device/sequence_ops/warp.cuh"
#include "kat/on_device/shared_memory.cuh"
#include "kat/on_device/shared_memory/basic.cuh"
#include "kat/on_device/shared_memory/operations.cuh"
#include "kat/on_device/shuffle.cuh"
#include "kat/on_device/time.cuh"
#include "kat/ranges.hpp"
#include "kat/reference_wrapper.hpp"
#include "kat/tuple.hpp"
#include "kat/utility.hpp"