mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 00:03:14 +08:00
Revert "performance: align structures for 64-bit platforms"
This reverts commit 9f07f56f7f.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ca72dff1ab
commit
af031ee0e3
@@ -13,8 +13,8 @@
|
||||
|
||||
namespace NEO {
|
||||
struct CopyEngineState {
|
||||
TaskCountType taskCount = 0;
|
||||
aub_stream::EngineType engineType = aub_stream::EngineType::NUM_ENGINES;
|
||||
TaskCountType taskCount = 0;
|
||||
bool csrClientRegistered = false;
|
||||
|
||||
bool isValid() const {
|
||||
|
||||
@@ -24,21 +24,21 @@ struct CsrSelectionArgs {
|
||||
const size_t *imageOrigin = nullptr;
|
||||
};
|
||||
|
||||
cl_command_type cmdType;
|
||||
const size_t *size = nullptr;
|
||||
Resource srcResource;
|
||||
Resource dstResource;
|
||||
const size_t *size = nullptr;
|
||||
cl_command_type cmdType;
|
||||
TransferDirection direction;
|
||||
|
||||
CsrSelectionArgs(cl_command_type cmdType, const size_t *size)
|
||||
: size(size),
|
||||
cmdType(cmdType),
|
||||
: cmdType(cmdType),
|
||||
size(size),
|
||||
direction(TransferDirection::hostToHost) {}
|
||||
|
||||
template <typename ResourceType>
|
||||
CsrSelectionArgs(cl_command_type cmdType, ResourceType *src, ResourceType *dst, uint32_t rootDeviceIndex, const size_t *size)
|
||||
: size(size),
|
||||
cmdType(cmdType) {
|
||||
: cmdType(cmdType),
|
||||
size(size) {
|
||||
if (src) {
|
||||
processResource(*src, rootDeviceIndex, this->srcResource);
|
||||
}
|
||||
|
||||
@@ -25,20 +25,20 @@ using SvmFreeClbT = void(CL_CALLBACK *)(cl_command_queue queue,
|
||||
void *userData);
|
||||
|
||||
struct SvmFreeUserData {
|
||||
cl_uint numSvmPointers;
|
||||
void **svmPointers;
|
||||
SvmFreeClbT clb;
|
||||
void *userData;
|
||||
cl_uint numSvmPointers;
|
||||
bool ownsEventDeletion;
|
||||
|
||||
SvmFreeUserData(cl_uint numSvmPointers,
|
||||
void **svmPointers, SvmFreeClbT clb,
|
||||
void *userData,
|
||||
bool ownsEventDeletion)
|
||||
: svmPointers(svmPointers),
|
||||
: numSvmPointers(numSvmPointers),
|
||||
svmPointers(svmPointers),
|
||||
clb(clb),
|
||||
userData(userData),
|
||||
numSvmPointers(numSvmPointers),
|
||||
ownsEventDeletion(ownsEventDeletion){};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user