File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11/* ******************************************************************************
2- * Copyright 2019-2022 Intel Corporation
2+ * Copyright 2019-2023 Intel Corporation
33*
44* Licensed under the Apache License, Version 2.0 (the "License");
55* you may not use this file except in compliance with the License.
@@ -47,8 +47,11 @@ class kernel_ctx_t {
4747 for (auto &opt : option_set_)
4848 oss << " " << opt;
4949
50- for (auto &int_var : int_var_map_)
50+ for (auto &int_var : int_var_map_) {
5151 oss << " -D" << int_var.first << " =" << int_var.second ;
52+ if (int_var.second > INT_MAX || int_var.second < INT_MIN)
53+ oss << " L" ;
54+ }
5255
5356 for (auto &float_var : float_var_map_) {
5457 oss << " -D" << float_var.first << " =as_float(0x" << std::hex
You can’t perform that action at this time.
0 commit comments