mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Update guidelines with rules regarding initialization of HW commands
Change-Id: I96a35cb082482ca09111f391b9df6f0e3927920f
This commit is contained in:

committed by
sys_ocldev

parent
3e75c837f9
commit
4916a16cc5
@ -43,3 +43,6 @@ the driver behavior, do not bind tests to implementation.
|
||||
* Make sure that test is fast, our test suite needs to complete in seconds for efficient development pace, as
|
||||
a general rule test shouldn't be longer then 1ms in Debug driver.
|
||||
|
||||
# Coding guidelines
|
||||
* HW commands and structures used in NEO must be initialized with constants defines for each Gfx Family: i.e. PIPE_CONTROL cmd = GfxFamily::cmdInitPipeControl
|
||||
* Any new HW command or structure must have its own static constant initializer added to any Gfx Family that is going to use it.
|
Reference in New Issue
Block a user