class xf::database::gqe::Base

#include "gqe_base.hpp"

Overview

class Base

    // direct descendants

    class xf::database::gqe::Filter
    class xf::database::gqe::Joiner

Methods

SetBufAllocMaxNum

void SetBufAllocMaxNum (int _num)

Setting the maximum number of buffers that are allowed to allocate for each ddr.

Parameters:

_num  
: the maximum ddr buffer num

AllocHostBuf

char* AllocHostBuf (
    bool _ddr_idx,
    int64_t _size
    )

Request one host buffer in hbuf ddr0/1, the size and starting ptr of this buf is recorded.

Parameters:

_ddr_idx  
: the device buffer DDR idx that corresponding to requested host buf
_size  
: the requested buf size

ResetHostBuf

void ResetHostBuf ()

Reset host Buf related record, but won’t destroy host buffer.