mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +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"),
|
||||
@@ -33,8 +33,8 @@
|
||||
using namespace OCLRT;
|
||||
|
||||
class GetMemObjectInfo : public ::testing::Test, public PlatformFixture, public DeviceFixture {
|
||||
using PlatformFixture::SetUp;
|
||||
using DeviceFixture::SetUp;
|
||||
using PlatformFixture::SetUp;
|
||||
|
||||
public:
|
||||
void SetUp() override {
|
||||
|
||||
@@ -48,16 +48,15 @@ class ImageRedescribeTest : public testing::TestWithParam<std::tuple<size_t, uin
|
||||
auto imageHeight = ImageType == CL_MEM_OBJECT_IMAGE1D_ARRAY ? 0 : 32;
|
||||
auto imageArrays = ImageType == CL_MEM_OBJECT_IMAGE1D_ARRAY || ImageType == CL_MEM_OBJECT_IMAGE2D_ARRAY ? 7 : 1;
|
||||
|
||||
|
||||
imageDesc.image_type = ImageType;
|
||||
imageDesc.image_width = 32;
|
||||
imageDesc.image_height = imageHeight;
|
||||
imageDesc.image_depth = 1;
|
||||
imageDesc.image_array_size = imageArrays;
|
||||
imageDesc.image_row_pitch = 0;
|
||||
imageDesc.image_type = ImageType;
|
||||
imageDesc.image_width = 32;
|
||||
imageDesc.image_height = imageHeight;
|
||||
imageDesc.image_depth = 1;
|
||||
imageDesc.image_array_size = imageArrays;
|
||||
imageDesc.image_row_pitch = 0;
|
||||
imageDesc.image_slice_pitch = 0;
|
||||
imageDesc.num_mip_levels = 0;
|
||||
imageDesc.num_samples = 0;
|
||||
imageDesc.num_mip_levels = 0;
|
||||
imageDesc.num_samples = 0;
|
||||
imageDesc.mem_object = NULL;
|
||||
|
||||
retVal = CL_INVALID_VALUE;
|
||||
|
||||
Reference in New Issue
Block a user