Skip to content

[Refactor] Refactor kernel compilation to flexibly support different CANN toolkit version #140

@chloroethylene

Description

@chloroethylene

Background

We add host compilation option by coping toolkit ascend.cmake. This is not flexible for updating CANN version. #132

Target

To make it easier to adapt to newer versions of CANN and reduce the adaptation effort.

Solution

Automatically generate the operator's CMakeList.txt, add code in setup.py to copy and modify it from the corresponding location.

Potential issues

This could result in the operator repository failing to compile independently.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions