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

ID 683846
Date 10/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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 24.  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 25.  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 26.  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