/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/kernels/device/non_max_suppression_device.hpp Source File#
3 min read time
Applies to Linux
non_max_suppression_device.hpp
Go to the documentation of this file.
Definition: generic_tensor_wrapper.hpp:28
__device__ __host__ T & at(ARGS... idx)
Definition: generic_tensor_wrapper.hpp:48
__global__ void non_maximum_suppression(roccv::GenericTensorWrapper< short4 > input, roccv::GenericTensorWrapper< uint8_t > output, roccv::GenericTensorWrapper< float > scores, int numBoxes, float scoresThreshold, float iouThreshold)
Definition: non_max_suppression_device.hpp:32
Definition: non_max_suppression_helpers.hpp:26
__device__ __host__ float ComputeArea(const short4 &box)
Definition: non_max_suppression_helpers.hpp:27
__device__ __host__ float ComputeIoU(const short4 &boxA, const short4 &boxB)
Definition: non_max_suppression_helpers.hpp:29