寒武纪runtime不支持stream等待另一张卡上的event, cnrtQueueWaitNotifier 返回100050(This indicates that the feature is not supported now),因此我们这里使用同步级别更高的syncStream来代替stramWaitEvent。
由于测试用例中有些测例(多卡间内存拷贝至少需要两张卡,通信相关测例需要四张卡)需要多张卡,在ci中运行测例时,分配多张卡资源,避免有些测例被跳过
Cambrian runtime does not support stream waiting for events on another card, cnrtQueueWaitNotifier returns 100050 (This indicates that the feature is not supported now), so we use syncStream with a higher synchronization level instead of stramWaitEvent.
Because some test cases in the test case require multiple cards (memory copy between multiple cards requires at least two cards, and communication-related test cases require four cards), when running the test cases in CI, allocate multiple card resources to avoid some test cases being skipped.
寒武纪runtime不支持stream等待另一张卡上的event, cnrtQueueWaitNotifier 返回100050(This indicates that the feature is not supported now),因此我们这里使用同步级别更高的syncStream来代替stramWaitEvent。 由于测试用例中有些测例(多卡间内存拷贝至少需要两张卡,通信相关测例需要四张卡)需要多张卡,在ci中运行测例时,分配多张卡资源,避免有些测例被跳过
Cambrian runtime does not support stream waiting for events on another card, cnrtQueueWaitNotifier returns 100050 (This indicates that the feature is not supported now), so we use syncStream with a higher synchronization level instead of stramWaitEvent.
Because some test cases in the test case require multiple cards (memory copy between multiple cards requires at least two cards, and communication-related test cases require four cards), when running the test cases in CI, allocate multiple card resources to avoid some test cases being skipped.