MCPcopy Create free account
hub / github.com/XpuOS/xsched / OnXQueueCreate

Method OnXQueueCreate

platforms/ascend/hal/src/acl_queue.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void AclQueue::OnXQueueCreate()
32{
33 ACL_ASSERT(Driver::rtSetDevice(device_id_));
34 ACL_ASSERT(Driver::rtSetCurrentContext(context_));
35}
36
37EXPORT_C_FUNC XResult AclQueueCreate(HwQueueHandle *hwq, aclrtStream stream)
38{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected