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 |
_pi_sampler (ze_sampler_handle_t Sampler) | |
Public Attributes | |
std::atomic_uint32_t | refCount_ |
pi_uint32 | props_ |
pi_context | context_ |
ze_sampler_handle_t | ZeSampler |
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 944 of file pi_cuda.hpp.
|
inline |
Definition at line 949 of file pi_cuda.hpp.
|
inline |
Definition at line 733 of file pi_hip.hpp.
|
inline |
Definition at line 1522 of file pi_level_zero.hpp.
|
inlinenoexcept |
Definition at line 738 of file pi_hip.hpp.
References refCount_.
|
inlinenoexcept |
Definition at line 954 of file pi_cuda.hpp.
References refCount_.
Referenced by cuda_piSamplerRelease(), and hip_piSamplerRelease().
|
inlinenoexcept |
Definition at line 740 of file pi_hip.hpp.
References refCount_.
|
inlinenoexcept |
Definition at line 956 of file pi_cuda.hpp.
References refCount_.
Referenced by cuda_piSamplerGetInfo(), cuda_piSamplerRelease(), hip_piSamplerGetInfo(), and hip_piSamplerRelease().
|
inlinenoexcept |
Definition at line 736 of file pi_hip.hpp.
References refCount_.
|
inlinenoexcept |
Definition at line 952 of file pi_cuda.hpp.
References refCount_.
Referenced by cuda_piSamplerRetain(), and hip_piSamplerRetain().
pi_context _pi_sampler::context_ |
Definition at line 947 of file pi_cuda.hpp.
Referenced by cuda_piSamplerGetInfo(), and hip_piSamplerGetInfo().
pi_uint32 _pi_sampler::props_ |
Definition at line 946 of file pi_cuda.hpp.
Referenced by cuda_piSamplerGetInfo(), and hip_piSamplerGetInfo().
std::atomic_uint32_t _pi_sampler::refCount_ |
Definition at line 945 of file pi_cuda.hpp.
Referenced by decrement_reference_count(), get_reference_count(), and increment_reference_count().
ze_sampler_handle_t _pi_sampler::ZeSampler |
Definition at line 1525 of file pi_level_zero.hpp.
Referenced by piSamplerRelease().