Intel® FPGA SDK for OpenCL™ Standard Edition: Programming Guide

ID 683342
Date 4/22/2019
Public
Document Table of Contents

A.3.3. OpenCL 2.0 C Programming Language Restrictions for Pipes

The Intel® FPGA SDK for OpenCL™ offers preliminary support of OpenCL pipes. The following table lists the support statuses of pipe-specific OpenCL C programming language implementations, as described in the OpenCL Specification version 2.0
Attention: The support status "●" means that the feature is supported. There might be a clarification for the supported feature in the Notes column. A feature that is not supported by the SDK is identified with an "X".
Table 17.  Support Statuses of Built-in Pipe Read and Write Functions Details of the built-in pipe read and write functions are available in section 6.13.16.2 of the OpenCL Specification version 2.0.
Function Support Status
int read_pipe (pipe gentype p, gentype *ptr)
int write_pipe (pipe gentype p, const gentype *ptr)
int read_pipe (pipe gentype p, reserve_id_t reserve_id, uint index, gentype *ptr) X
int write_pipe (pipe gentype p, reserve_id_t reserve_id, uint index, const gentype *ptr) X

reserve_id_t reserve_read_pipe (pipe gentype p, uint num_packets)

reserve_id_t reserve_write_pipe (pipe gentype p, uint num_packets)

X

void commit_read_pipe (pipe gentype p, reserve_id_t reserve_id)

void commit_write_pipe (pipe gentype p, reserve_id_t reserve_id)

X
bool is_valid_reserve_id (reserve_id_t reserve_id) X
Table 18.  Support Statuses of Built-in Work-Group Pipe Read and Write Functions Details of the built-in pipe read and write functions are available in section 6.13.16.3 of the OpenCL Specification version 2.0.
Function Support Status

reserve_id_t work_group_reserve_read_pipe (pipe gentype p, uint num_packets)

reserve_id_t work_group_reserve_write_pipe (pipe gentype p, uint num_packets)

X

void work_group_commit_read_pipe (pipe gentype p, reserve_id_t reserve_id)

void work_group_commit_write_pipe (pipe gentype p, reserve_id_t reserve_id)

X
Table 19.  Support Statuses of Built-in Pipe Query FunctionsDetails of the built-in pipe query functions are available in section 6.13.16.4 of the OpenCL Specification version 2.0.
Function Support Status
uint get_pipe_num_packets (pipe gentype p) X
uint get_pipe_max_packets (pipe gentype p) X