diff options
Diffstat (limited to 'tests/projects/ascendc/mixed_binary/src/helper.aicpu')
| -rw-r--r-- | tests/projects/ascendc/mixed_binary/src/helper.aicpu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/ascendc/mixed_binary/src/helper.aicpu b/tests/projects/ascendc/mixed_binary/src/helper.aicpu new file mode 100644 index 000000000..a11afdd90 --- /dev/null +++ b/tests/projects/ascendc/mixed_binary/src/helper.aicpu @@ -0,0 +1,6 @@ +#include "aicpu_api.h" + +__global__ __aicpu__ uint32_t hello_world(void *args) { + AscendC::printf("Hello World!!!\n"); + return 0; +} |
