Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Sets the task schedule required for the computation.
1 | aclError aclrtSetTsDevice(aclrtTsId tsId) |
1 | ret = acl.rt.set_ts_device(ts_id) |
Parameter |
Description |
|---|---|
ts_Id |
Int, task schedule required for the computation. If the Ascend AI software stack contains only the AICORE Task Schedule, this parameter is invalid and the AICORE Task Schedule is used by default.
|
Return Value |
Description |
|---|---|
ret |
Int, error code. 0 on success; else, failure. |