File tree 6 files changed +19
-18
lines changed
backends/vulkan/runtime/api
6 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 8
8
9
9
#pragma once
10
10
11
+ #include < executorch/backends/vulkan/runtime/api/vk_api/vk_api.h>
12
+
13
+ #include < executorch/backends/vulkan/runtime/api/vk_api/Exception.h>
14
+
11
15
#include < cmath>
12
16
#include < limits>
13
17
#include < numeric>
14
18
#include < type_traits>
15
19
16
- #include < executorch/backends/vulkan/runtime/api/vk_api/vk_api.h>
17
-
18
- #include < executorch/backends/vulkan/runtime/api/vk_api/Exception.h>
19
-
20
20
namespace vkcompute {
21
21
namespace utils {
22
22
Original file line number Diff line number Diff line change 10
10
11
11
// @lint-ignore-every CLANGTIDY facebook-hte-BadMemberName
12
12
13
- #include < cstdint>
14
- #include < functional>
15
-
16
13
#include < executorch/backends/vulkan/runtime/api/vk_api/vk_api.h>
17
14
18
15
#include < executorch/backends/vulkan/runtime/api/vk_api/Adapter.h>
19
16
#include < executorch/backends/vulkan/runtime/api/vk_api/Command.h>
20
17
#include < executorch/backends/vulkan/runtime/api/vk_api/Pipeline.h>
21
18
19
+ #include < cstdint>
20
+ #include < functional>
21
+
22
22
#ifndef VULKAN_QUERY_POOL_SIZE
23
23
#define VULKAN_QUERY_POOL_SIZE 4096u
24
24
#endif
Original file line number Diff line number Diff line change 6
6
* LICENSE file in the root directory of this source tree.
7
7
*/
8
8
9
+ #include < executorch/backends/vulkan/runtime/api/vk_api/Runtime.h>
10
+
11
+ #include < executorch/backends/vulkan/runtime/api/vk_api/Adapter.h>
12
+
9
13
#include < cstring>
10
14
#include < iostream>
11
15
#include < sstream>
12
16
13
- #include < executorch/backends/vulkan/runtime/api/vk_api/Adapter.h>
14
- #include < executorch/backends/vulkan/runtime/api/vk_api/Runtime.h>
15
-
16
17
namespace vkcompute {
17
18
namespace vkapi {
18
19
Original file line number Diff line number Diff line change 10
10
11
11
// @lint-ignore-every CLANGTIDY facebook-hte-BadMemberName
12
12
13
- #include < functional>
14
- #include < memory>
15
-
16
13
#include < executorch/backends/vulkan/runtime/api/vk_api/vk_api.h>
17
14
18
15
#include < executorch/backends/vulkan/runtime/api/vk_api/Adapter.h>
19
16
17
+ #include < functional>
18
+ #include < memory>
19
+
20
20
namespace vkcompute {
21
21
namespace vkapi {
22
22
Original file line number Diff line number Diff line change 6
6
* LICENSE file in the root directory of this source tree.
7
7
*/
8
8
9
- #include < utility>
10
-
11
9
#include < executorch/backends/vulkan/runtime/api/vk_api/Shader.h>
12
10
11
+ #include < utility>
12
+
13
13
namespace vkcompute {
14
14
namespace vkapi {
15
15
Original file line number Diff line number Diff line change 10
10
11
11
// @lint-ignore-every CLANGTIDY bugprone-branch-clone
12
12
13
- #include < cstddef>
14
- #include < cstdint>
15
-
16
13
#include < executorch/backends/vulkan/runtime/api/vk_api/vk_api.h>
17
14
18
15
#include < executorch/backends/vulkan/runtime/api/vk_api/Exception.h>
19
16
17
+ #include < cstddef>
18
+ #include < cstdint>
19
+
20
20
#ifdef USE_VULKAN_FP16_INFERENCE
21
21
#define VK_FORMAT_FLOAT4 VK_FORMAT_R16G16B16A16_SFLOAT
22
22
#else
You can’t perform that action at this time.
0 commit comments