NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
dpa_nvqual_kernels_dev.c File Reference
#include <stdint.h>
#include <stddef.h>
#include <dpaintrin.h>
#include <doca_dpa_dev.h>
#include <doca_dpa_dev_sync_event.h>
#include "../common/dpa_nvqual_common_defs.h"
Include dependency graph for dpa_nvqual_kernels_dev.c:

Go to the source code of this file.

Functions

__dpa_global__ void dpa_nvqual_kernel (void)
 Kernel function of DPA nvqual thread. More...
 
__dpa_rpc__ uint64_t dpa_nvqual_entry_point (doca_dpa_dev_uintptr_t dev_notification_completions, uint64_t num_threads)
 DPA nvqual entry point RPC function. More...
 

Function Documentation

◆ dpa_nvqual_entry_point()

__dpa_rpc__ uint64_t dpa_nvqual_entry_point ( doca_dpa_dev_uintptr_t  dev_notification_completions,
uint64_t  num_threads 
)

DPA nvqual entry point RPC function.

The function notifies all threads from notification completion pointer

@dev_notification_completions [in]: Notification completion pointer @num_threads [in]: Number of threads

Returns
: Zero on success

Definition at line 90 of file dpa_nvqual_kernels_dev.c.

◆ dpa_nvqual_kernel()

__dpa_global__ void dpa_nvqual_kernel ( void  )

Kernel function of DPA nvqual thread.

The function copies source buffer to destination buffer, and returns the number of cycles of the DPA thread it took

The function uses thread local storage parameters: source buffer, destination buffer, buffers size and number of operations.

Definition at line 43 of file dpa_nvqual_kernels_dev.c.