Commit Graph

9915 Commits

Author SHA1 Message Date
Hoppe, Mateusz e8fb931ef1 Use 64KB pages for SVM allocations when 64KB pages are enabled
- clSVMAlloc allocates 64KB pages as memory storage for both
fine grain and coarse grain allocation

Change-Id: I2068ffb9f5577761f739df47b54bc382e971949c
2017-12-28 11:25:43 +01:00
Mrozek, Michal 2b91ea85c6 Fortify events
- add some debug breaks
- clean cmd ownership, there can't be situation when event holds 2 commands
- cmd meaning cleanup
- remove not needed try catch clause

Change-Id: I5ad6877e7235de2d7f48818467cb4b92655aab97
2017-12-22 15:05:28 +01:00
Artur Harasimiuk 6afb024f6f limit maximum memory allocation in ULTs
We shouldn't test using huge amount of memory. Execution environment may
have less memory. it also increases memory pressure and overall system
load during parallel ULT execution.
Let's cap max to currently used maximum and then we can refactor tests
to use less.

Change-Id: I869f77d59344faef5399896727f1b0381932bde0
2017-12-22 15:04:32 +01:00
Zdanowicz, Zbigniew 98aee19b15 Make better template pattern for HwHelper class
Change-Id: Ib85ec853e8f5ddcbd8eaf8591754e6551232e0a6
2017-12-22 12:05:38 +01:00
Hoppe, Mateusz a9f30a5059 Fix for Execution model PageFaults
- adding PC with MediaStateClear and MEDIA_VFE_STATE in
EMCleanupSection

Change-Id: I0ee0e121bc2fcc09ac79cb3b601591247326482a
2017-12-22 11:49:56 +01:00
Mrozek, Michal 03646887bf Make UNRECOVERABLE_IF fail in tests.
- Fix tests that were triggering the UNRECOVERABLE scenario
- Change UNRECOVERABLE to DEBUG_BREAK in some places

Change-Id: I479baac4941b485af9ea81a61a1a03d2f3f42e6a
2017-12-22 11:26:06 +01:00
mplewka b503597ffa Enable new algorithm computing local work sizes
Change-Id: If0addb5f36ee0b667370489b11837be716d70782
2017-12-22 10:42:36 +01:00
Napiatek, Henryk J 1e78649540 Improve cmakefile when GT-Pin headers are absent
Change-Id: Ib947a3deee6dfb834476ac159c51a596ecc32530
2017-12-21 18:43:25 +01:00
Artur Harasimiuk 6f51da22d9 manifest update
Change-Id: I85515986c34ea2afd60125732710f745aa954fa0
2017-12-21 18:23:46 +01:00
hjnapiat b1823f31ee Diminish size of memory chunk allocated in ULT test
Change-Id: If57f0334c709a7fc23e4d78eff4f9b913d9154d3
2017-12-21 18:05:24 +01:00
Zdanowicz, Zbigniew 3c9b82e9cc Disable Mid-thread preemption for VME kernels when device does not support it
Change-Id: I925c0ad8f76cf0b41426155448f34ff7700d0444
2017-12-21 16:22:35 +01:00
Mrozek, Michal 2a00a15141 [n/n] Remove event registry.
Change-Id: Ie7da0f2dc944583771aaa80648217602ccff99ce
2017-12-21 14:46:27 +01:00
Artur Harasimiuk b0a41b81bb cmake cleanup
moving build targets for better layout in solution explorer.

Change-Id: I6514f321f15991f88833e02b3c8af6327d35b74b
2017-12-21 10:29:13 +01:00
Mrozek, Michal 3284efff86 Do not use peekIsCompleted in isQueueBlocked.
- This causes event tree update if virtual event is holding commands or
callbacks
- That causes race between other threads that may be updating the tree

Change-Id: Ic80a8b71ed1e1c1deab8af1bc64f8ce81c21de1b
2017-12-21 08:13:43 +01:00
Brandon Fliflet 7e9ad41290 Initial commit
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00