Skip to content

Commit

Permalink
Hot fix for benchmarks after #2192 (#2210)
Browse files Browse the repository at this point in the history
#2192

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev authored Sep 11, 2024
1 parent 9a4e778 commit 2abe039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/triton_kernels_benchmark/benchmark_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def format_of(ty):
ptr_info.dev_ptr = 0;
ptr_info.valid = true;
if (PyLong_Check(obj)) {{
ptr_info.dev_ptr = PyLong_AsVoidPtr(obj)
ptr_info.dev_ptr = PyLong_AsVoidPtr(obj);
checkDevicePointer(&ptr_info, idx, queue);
return ptr_info;
}}
Expand Down

0 comments on commit 2abe039

Please sign in to comment.