mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Switch clang-format to 6.0
Change-Id: Id96d1f47fb3d479d10d1022f1259dc030a148192 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@ -43,7 +43,7 @@ static const uintptr_t page64kMask = (pageSize64k - 1);
|
||||
static const uint64_t max32BitAppAddress = ((1ULL << 31) - 1);
|
||||
static const uint64_t max64BitAppAddress = ((1ULL << 47) - 1);
|
||||
static const uint32_t sizeOf4GBinPageEntities = (MemoryConstants::gigaByte * 4 - MemoryConstants::pageSize) / MemoryConstants::pageSize;
|
||||
}
|
||||
} // namespace MemoryConstants
|
||||
|
||||
const bool is32bit = (sizeof(void *) == 4) ? true : false;
|
||||
const bool is64bit = (sizeof(void *) == 8) ? true : false;
|
||||
|
Reference in New Issue
Block a user