Implementation of samplers for CUDA. More...
#include <cuda/pi_cuda.hpp>
Public Member Functions | |
_pi_sampler (pi_context context) | |
pi_uint32 | increment_reference_count () noexcept |
pi_uint32 | decrement_reference_count () noexcept |
pi_uint32 | get_reference_count () const noexcept |
_pi_sampler (pi_context context) | |
pi_uint32 | increment_reference_count () noexcept |
pi_uint32 | decrement_reference_count () noexcept |
pi_uint32 | get_reference_count () const noexcept |
Public Attributes | |
std::atomic_uint32_t | refCount_ |
pi_uint32 | props_ |
pi_context | context_ |
Implementation of samplers for CUDA.
Implementation of samplers for HIP.
Sampler property layout: | 31 30 ... 6 5 | 4 3 2 | 1 | 0 | | N/A | addressing mode | fiter mode | normalize coords |
Definition at line 988 of file pi_cuda.hpp.
|
inline |
Definition at line 993 of file pi_cuda.hpp.
|
inline |
Definition at line 947 of file pi_hip.hpp.
|
inlinenoexcept |
Definition at line 952 of file pi_hip.hpp.
References refCount_.
|
inlinenoexcept |
Definition at line 998 of file pi_cuda.hpp.
References refCount_.
Referenced by cuda_piSamplerRelease(), and hip_piSamplerRelease().
|
inlinenoexcept |
Definition at line 954 of file pi_hip.hpp.
References refCount_.
|
inlinenoexcept |
Definition at line 1000 of file pi_cuda.hpp.
References refCount_.
Referenced by cuda_piSamplerGetInfo(), cuda_piSamplerRelease(), hip_piSamplerGetInfo(), and hip_piSamplerRelease().
|
inlinenoexcept |
Definition at line 950 of file pi_hip.hpp.
References refCount_.
|
inlinenoexcept |
Definition at line 996 of file pi_cuda.hpp.
References refCount_.
Referenced by cuda_piSamplerRetain(), and hip_piSamplerRetain().
pi_context _pi_sampler::context_ |
Definition at line 991 of file pi_cuda.hpp.
Referenced by cuda_piSamplerGetInfo(), and hip_piSamplerGetInfo().
pi_uint32 _pi_sampler::props_ |
Definition at line 990 of file pi_cuda.hpp.
Referenced by cuda_piSamplerGetInfo(), and hip_piSamplerGetInfo().
std::atomic_uint32_t _pi_sampler::refCount_ |
Definition at line 989 of file pi_cuda.hpp.
Referenced by decrement_reference_count(), get_reference_count(), and increment_reference_count().