diff --git a/loopy/target/c/c_execution.py b/loopy/target/c/c_execution.py index 1345b58da7071aa19aa29e4ebb6a76d7b70f8ea6..de8a0b7808c54d3ef721116d82a94ed3ded7c829 100644 --- a/loopy/target/c/c_execution.py +++ b/loopy/target/c/c_execution.py @@ -239,7 +239,7 @@ class CCompiler(object): self.tempdir, debug, wait_on_error, debug_recompile, False) - if not recompiled: + if recompiled: logger.debug('Kernel {} compiled from source'.format(name)) # and return compiled