Function: set_kernel_args
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
Sets tiling arguments and number of concurrency times of a dynamic-shape operator.
Prototype
- C Prototype
1 2 3 4 5
aclError aclopSetKernelArgs(aclopKernelDesc *kernelDesc, const char *kernelId, uint32_t blockDim, const void *args, uint32_t argSize)
- Python Function
1ret = acl.op.set_kernel_args(kernel_desc, kernel_id, block_dim, args, arg_size)
Parameters
Returns
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: Single-Operator Model Execution