Skip to content

Commit cf20d74

Browse files
committed
up
Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
1 parent a3ae9fc commit cf20d74

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

clang/lib/DPCT/FileGenerator/GenHelperFunction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ void genHelperFunction(const clang::tooling::UnifiedPath &OutRoot) {
210210
GENERATE_ALL_FILE_CONTENT(Util, ".", util.hpp)
211211
GENERATE_ALL_FILE_CONTENT(RngUtils, ".", rng_utils.hpp)
212212
GENERATE_ALL_FILE_CONTENT(LibCommonUtils, ".", lib_common_utils.hpp)
213+
GENERATE_ALL_FILE_CONTENT(ZEUtils, ".", ze_utils.hpp)
213214
GENERATE_ALL_FILE_CONTENT(CclUtils, ".", ccl_utils.hpp)
214215
GENERATE_ALL_FILE_CONTENT(SparseUtils, ".", sparse_utils.hpp)
215216
GENERATE_ALL_FILE_CONTENT(FftUtils, ".", fft_utils.hpp)

clang/runtime/dpct-rt/include/dpct/ze_utils.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ ze_result_t open_mem_ipc_handle(ipc_mem_handle_ext_t ipc_ext_handle,
8787
}
8888

8989
} // namespace experimental
90+
} // namespace dpct
91+
9092
#endif // __linux__
9193
#endif // ONEAPI_BACKEND_LEVEL_ZERO_EXT
9294

93-
} // namespace dpct
9495
#endif // ! __ZE_UTILS_HPP__

clang/test/dpct/help_option_check/lin/help_advanced.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Advanced DPCT options
6363
=in_order_queue_events - Experimental extension that allows placing the event from the last command submission into the queue and setting an external event as an implicit dependence on the next command submitted to the queue.
6464
=non-stdandard-sycl-builtins - Experimental extension that allows use of non standard SYCL builtin functions.
6565
=prefetch - Experimental extension that allows use of SYCL prefetch APIs.
66-
=level_zero - Experimental extension that allows the use of Level Zero APIs to migrate IPC code, with the DPCT_EXT_ONEAPI_BACKEND_LEVEL_ZERO macro defined to enable these APIs.
66+
=level_zero - Experimental extension that allows the use of Level Zero APIs to migrate the target code. For example, migrate the CUDA Inter Process Communication(IPC) APIs.
6767
=all - Enable all experimental extensions listed in this option.
6868

6969
<source0> ... Paths of input source files. These paths are looked up in the compilation database.

clang/test/dpct/help_option_check/lin/help_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ All DPCT options
170170
=in_order_queue_events - Experimental extension that allows placing the event from the last command submission into the queue and setting an external event as an implicit dependence on the next command submitted to the queue.
171171
=non-stdandard-sycl-builtins - Experimental extension that allows use of non standard SYCL builtin functions.
172172
=prefetch - Experimental extension that allows use of SYCL prefetch APIs.
173-
=level_zero - Experimental extension that allows the use of Level Zero APIs to migrate IPC code, with the DPCT_EXT_ONEAPI_BACKEND_LEVEL_ZERO macro defined to enable these APIs.
173+
=level_zero - Experimental extension that allows the use of Level Zero APIs to migrate the target code. For example, migrate the CUDA Inter Process Communication(IPC) APIs.
174174
=all - Enable all experimental extensions listed in this option.
175175
--use-explicit-namespace=<value> - Define the namespaces to use explicitly in generated code. The <value> is a comma
176176
separated list. Default: dpct/syclcompat, sycl.

0 commit comments

Comments
 (0)