mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Remove CPP_ATTRIBUTE_FALLTHROUGH macro
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
257b1de14e
commit
d34ef3170a
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user