You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standardizing on dpctl is fine. Let us follow the GTK naming convention: All C API function names will use a dpctl_ prefix followed by a symbol name and words separated with _, e.g.dpctl_device_is_host. Structs should use Dpctl prefix and use CamelCase naming style. Macros will use DPCTL_ prefix and use underscore separated words in all caps.
The problem might be we might end up with very long names.
The name has been standardized everywhere with the exception of libsyclinterface. In libsyclinterface, the DPCTL prefix continues to be used and changing that buys us very little. I will document the naming convention in our future programmer's manual.
Activity
diptorupd commentedon Mar 23, 2021
Standardizing on
dpctlis fine. Let us follow the GTK naming convention: All C API function names will use adpctl_prefix followed by a symbol name and words separated with_, e.g.dpctl_device_is_host. Structs should useDpctlprefix and useCamelCasenaming style. Macros will useDPCTL_prefix and use underscore separated words in all caps.The problem might be we might end up with very long names.
PokhodenkoSA commentedon Mar 23, 2021
I propose to be close to SYCL API style.
diptorupd commentedon Mar 31, 2021
#342 changed all the places in docstrings, comments, license headers, etc.
oleksandr-pavlyk commentedon May 21, 2021
This has been adequately resolved. Voting to close.
diptorupd commentedon May 24, 2021
The issue of C++ function names is still to be resolved.
diptorupd commentedon Jan 8, 2022
The name has been standardized everywhere with the exception of
libsyclinterface. Inlibsyclinterface, theDPCTLprefix continues to be used and changing that buys us very little. I will document the naming convention in our future programmer's manual.