Revert "Minor decoder optimizations, kernel fixes, cpu backend fixes"
This commit is contained in:
@@ -25,7 +25,6 @@ namespace xe {
|
||||
*/
|
||||
|
||||
class alignas(4096) xe_global_mutex {
|
||||
XE_MAYBE_UNUSED
|
||||
char detail[64];
|
||||
|
||||
public:
|
||||
@@ -39,7 +38,6 @@ class alignas(4096) xe_global_mutex {
|
||||
using global_mutex_type = xe_global_mutex;
|
||||
|
||||
class alignas(64) xe_fast_mutex {
|
||||
XE_MAYBE_UNUSED
|
||||
char detail[64];
|
||||
|
||||
public:
|
||||
@@ -64,6 +62,8 @@ class xe_unlikely_mutex {
|
||||
~xe_unlikely_mutex() { mut = 0; }
|
||||
|
||||
void lock() {
|
||||
uint32_t lock_expected = 0;
|
||||
|
||||
if (XE_LIKELY(_tryget())) {
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user