Skip to content

Task graph generation fails when preceded by code generation flow #8

Description

@tiagolascasas

Happens with CortexSuite mser and tracking benchmarks. ETG flow fails if it reuses the AST from the transformation flow, but passes if it is parsed from a file. Error log:

Error processing app vision-tracking: TypeError: Cannot read properties of undefined (reading 'name')
    at ClavaUtils.functionHasImplementation (file:///home/tls/clava-workspace/extended-task-graph/dist/src/util/ClavaUtils.js:114:17)
    at TaskGraphBuilder.buildLevel (file:///home/tls/clava-workspace/extended-task-graph/dist/src/taskgraph/TaskGraphBuilder.js:96:28)
    at TaskGraphBuilder.buildLevel (file:///home/tls/clava-workspace/extended-task-graph/dist/src/taskgraph/TaskGraphBuilder.js:97:42)
    at TaskGraphBuilder.buildLevel (file:///home/tls/clava-workspace/extended-task-graph/dist/src/taskgraph/TaskGraphBuilder.js:97:42)
    at TaskGraphBuilder.build (file:///home/tls/clava-workspace/extended-task-graph/dist/src/taskgraph/TaskGraphBuilder.js:19:30)
    at TaskGraphGenerationFlow.buildTaskGraph (file:///home/tls/clava-workspace/extended-task-graph/dist/src/api/TaskGraphGenerationFlow.js:42:35)
    at TaskGraphGenerationFlow.runAll (file:///home/tls/clava-workspace/extended-task-graph/dist/src/api/TaskGraphGenerationFlow.js:15:25)
    at ExtendedTaskGraphAPI.runTaskGraphGenerationFlow (file:///home/tls/clava-workspace/extended-task-graph/dist/src/api/ExtendedTaskGraphAPI.js:33:25)
    at file:///home/tls/clava-workspace/hoopa-experiments/dist/CortexSuite.js:51:20
    at ModuleJob.run (node:internal/modules/esm/module_job:195:25)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions