Print warning when kernel argument has multiple buffer_location attributes by pcolberg · Pull Request #109 · intel/fpga-runtime-for-opencl (original) (raw)

This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Conversation

@pcolberg

@pcolberg added the bug

Something isn't working

label

Apr 22, 2022

sherry-yuan

@pcolberg

…butes

The auto-discovery string parsing of per kernel argument buffer_location intended to concatenate multiple attributes into a space-separated string, but in fact only retains the value of the last buffer_location attribute since read_string_counters() does not append but assign the string value.

Since multiple buffer_location attributes are not supported, print a warning message, and select the last buffer_location attribute such that the functional behaviour of buffer_location parsing remains unchanged.

Signed-off-by: Peter Colberg peter.colberg@intel.com

zibaiwan

sherry-yuan

pcolberg added a commit that referenced this pull request

Apr 29, 2022

@pcolberg

This amends #109

Signed-off-by: Peter Colberg peter.colberg@intel.com

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})