Skip to content

Commit 10a8a88

Browse files
authored
Merge pull request #144 from Jorghi12/patch-5
ROCm 1.8.2 correctly handles asserts.
2 parents f2f833f + 3d5c81b commit 10a8a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/amd_build/pyHIPIFY/hipify-python.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,8 @@ def preprocessor(filepath, stats, hipify_caffe2):
760760
output_source = processKernelLaunches(output_source, stats)
761761

762762
# Disable asserts
763-
if not filepath.endswith("THCGeneral.h.in"):
764-
output_source = disable_asserts(output_source)
763+
# if not filepath.endswith("THCGeneral.h.in"):
764+
# output_source = disable_asserts(output_source)
765765

766766
# Replace std:: with non-std:: versions
767767
output_source = replace_math_functions(output_source)

0 commit comments

Comments
 (0)