oneapi-src / level-zero

oneAPI Level Zero Specification Headers and Loader
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
208 stars 90 forks source link

Preferred abbreviation: ZE or L0? #126

Closed al42and closed 10 months ago

al42and commented 10 months ago

All spec-mandated symbols and filenames use ze prefix. But outside the LevelZero spec, "L0" is widely used to refer to it, and sometimes it's a mix of both:

https://github.com/oneapi-src/level-zero/blob/ea5be99d8d34480447ab1e3c7efc30d6f179b123/source/lib/ze_lib.cpp#L46

Are there any guidelines on which shorthand to use when?

bmyates commented 10 months ago

One of the reasons ze was chosen as the namespace prefix rather than "l0" is because both both characters "l" and "0" are ambiguous depending on font choice. You are free to use whatever shorthand you like of course.