File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 32
32
#endif
33
33
34
34
#ifndef KERNEL_FLOAT_FP8_AVAILABLE
35
+ #ifdef __CUDACC_VER_MAJOR__
36
+ #define KERNEL_FLOAT_FP8_AVAILABLE (__CUDACC_VER_MAJOR__ >= 12)
37
+ #else
35
38
#define KERNEL_FLOAT_FP8_AVAILABLE (0)
36
39
#endif
40
+ #endif
37
41
38
42
#define KERNEL_FLOAT_ASSERT (expr ) \
39
43
do { \
Original file line number Diff line number Diff line change 16
16
17
17
// ================================================================================
18
18
// this file has been auto-generated, do not modify its contents!
19
- // date: 2023-09-28 11:56:39.597009
20
- // git hash: f2078d86464553ef3c024dde759e5c4ab46fdf6e
19
+ // date: 2023-09-28 12:12:55.542179
20
+ // git hash: 0ae5853b782118d9842541588429b4aec7ff186a
21
21
// ================================================================================
22
22
23
23
#ifndef KERNEL_FLOAT_MACROS_H
54
54
#endif
55
55
56
56
#ifndef KERNEL_FLOAT_FP8_AVAILABLE
57
+ #ifdef __CUDACC_VER_MAJOR__
58
+ #define KERNEL_FLOAT_FP8_AVAILABLE (__CUDACC_VER_MAJOR__ >= 12 )
59
+ #else
57
60
#define KERNEL_FLOAT_FP8_AVAILABLE (0 )
58
61
#endif
62
+ #endif
59
63
60
64
#define KERNEL_FLOAT_ASSERT (expr ) \
61
65
do { \
Original file line number Diff line number Diff line change 6
6
#include < cstdint>
7
7
8
8
#include " catch2/catch_all.hpp"
9
-
10
- #define KERNEL_FLOAT_FP8_AVAILABLE (1 )
11
9
#include " kernel_float.h"
12
10
13
11
namespace kf = kernel_float;
You can’t perform that action at this time.
0 commit comments