GTPin
Public Member Functions

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

#include <gt_iarg_defs.h>

Public Member Functions

 IargDevicePtr (const GtReg v)
 Construct IargDevicePtr object for the argument value passed in the specified register.
template<typename PRMT >
const IGtIargMake (IGtIargFactory &factory) const
 Create IGtIarg object that assigns this argument value to the formal parameter of type PRMT.

Detailed Description

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

The class provides factory method that encapsulates this pointer into IGtIarg object of type GtIargType::DEVICE_PTR

Note:
Pointers to the device memory objects, can be passed only in registers

Member Function Documentation

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

Create IGtIarg object that assigns this argument value to the formal parameter of type PRMT.

Parameters:
PRMTType of the formal parameter of the function
Returns:
New IGtIarg object of type GtIargType::DEVICE_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