"vscode:/vscode.git/clone" did not exist on "a4b666ca5808bd8b3f053d3d6307a0b71fcef57c"
  • Juan Manuel Martinez Caamaño's avatar
    [generate.py] Override blob list if it already exists (#1635) · 464abd23
    Juan Manuel Martinez Caamaño authored
    Before, generate.py appended the list at the end of the output file.
    When running the cmake configuration steps multiple times on the
    examples, the blob list (such as fwd_blob_list.txt) would grow at every
    configuration.
    `library/src/tensor_operation_instance/gpu/mha/CMakeLists.txt` worked around
    this issue by removing the output file if it exists.
    
    Now, generate.py overrides the content of the output file.
    There is no need for the workaround in the CMakeLists.txt;
    and the issue is solved for the example projects too.
    464abd23
generate.py 3.6 KB