43
#ifndef OPENCV_CUDA_DEVICE_FUNCATTRIB_HPP
 
44
#define OPENCV_CUDA_DEVICE_FUNCATTRIB_HPP
 
54
namespace
cv
{
namespace
cuda {
namespace
device
 
57
void
printFuncAttrib(Func& func)
 
60
cudaFuncAttributes attrs;
 
61
cudaFuncGetAttributes(&attrs, func);
 
63
printf(
"=== Function stats ===\n");
 
65
printf(
"sharedSizeBytes    = %d\n", attrs.sharedSizeBytes);
 
66
printf(
"constSizeBytes     = %d\n", attrs.constSizeBytes);
 
67
printf(
"localSizeBytes     = %d\n", attrs.localSizeBytes);
 
68
printf(
"maxThreadsPerBlock = %d\n", attrs.maxThreadsPerBlock);
 
69
printf(
"numRegs            = %d\n", attrs.numRegs);
 
70
printf(
"ptxVersion         = %d\n", attrs.ptxVersion);
 
71
printf(
"binaryVersion      = %d\n", attrs.binaryVersion);
 
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75