Skip to content

Commit b4e3cbb

Browse files
committed
Update
1 parent 9ed4fde commit b4e3cbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

third_party/intel/backend/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def format_of(ty):
566566
567567
extern "C" EXPORT_FUNC PyObject* launch(PyObject* args) {{
568568
int gridX, gridY, gridZ;
569-
void* global_scratch = 0;
569+
void* global_scratch = nullptr;
570570
PyObject *launch_enter_hook = NULL;
571571
PyObject *launch_exit_hook = NULL;
572572
PyObject *kernel_metadata = NULL;

third_party/intel/tools/intel/compile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ int32_t {kernel_name}(sycl::queue &stream, {signature}) {{
114114
ctx);
115115
std::string kernel_name = sycl_kernel.get_info<sycl::info::kernel::function_name>();
116116
std::string driver_version = stream.get_device().get_info<sycl::info::device::driver_version>();
117-
void* global_scratch = 0;
117+
void* global_scratch = nullptr;
118118
void *params[] = {{ {arg_pointers} }};
119119
uint32_t num_params = sizeof(params)/sizeof(params[0]);
120120
uint32_t expected_num_params = sycl_kernel.get_info<sycl::info::kernel::num_args>();

0 commit comments

Comments
 (0)