GTPin
Public Member Functions

HLI argument that points to an object in the host memory. More...

#include <gt_iarg_defs.h>

Public Member Functions

 IargHostPtr (const void *v)
 Construct IargHostPtr object with the specified argument value.
template<typename PRMT >
const IGtIargMake (IGtIargFactory &factory) const
 Create IGtIarg object that converts host pointer into into device address, and assigns it to the formal parameter of type PRMT.

Detailed Description

HLI argument that points to an object in the host memory.

The class provides factory method that encapsulates argument value into IGtIarg object of type GtIargType::HOST_PTR


Member Function Documentation

template<typename PRMT >
const IGtIarg& gtpin::IargHostPtr::Make ( IGtIargFactory factory) const [inline]

Create IGtIarg object that converts host pointer into into device address, and assigns it to the formal parameter of type PRMT.

Parameters:
PRMTType of the formal parameter of the function
Returns:
New IGtIarg object of type GtIargType::HOST_PTR
Precondition:
PRMT is a pointer type
 All Data Structures Functions Variables Typedefs Enumerations Enumerator


  Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT