Remove CPP_ATTRIBUTE_FALLTHROUGH macro

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-10-22 16:12:30 +00:00
committed by Compute-Runtime-Automation
parent 257b1de14e
commit d34ef3170a
13 changed files with 32 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Intel Corporation
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -7,8 +7,6 @@
#include "level_zero/core/source/image/image_format_desc_helper.h"
#include "shared/source/utilities/compiler_support.h"
#include "third_party/opencl_headers/CL/cl_ext_intel.h"
namespace L0 {
@@ -40,7 +38,7 @@ cl_channel_type getClChannelDataType(const ze_image_format_t &imgDescription) {
return CL_SNORM_INT16;
return CL_HALF_FLOAT;
CPP_ATTRIBUTE_FALLTHROUGH;
[[fallthrough]];
case ZE_IMAGE_FORMAT_LAYOUT_32:
case ZE_IMAGE_FORMAT_LAYOUT_32_32:
case ZE_IMAGE_FORMAT_LAYOUT_32_32_32_32:

View File

@@ -14,7 +14,6 @@
#include "shared/source/image/image_surface_state.h"
#include "shared/source/memory_manager/allocation_properties.h"
#include "shared/source/memory_manager/memory_manager.h"
#include "shared/source/utilities/compiler_support.h"
#include "level_zero/core/source/helpers/properties_parser.h"
#include "level_zero/core/source/image/image_formats.h"