* set a kernel argument of the size_t type */
| 168 | * set a kernel argument of the size_t type |
| 169 | */ |
| 170 | static __inline void |
| 171 | initSizeKarg(KernelArg *arg, size_t value) |
| 172 | { |
| 173 | memcpy(arg->arg.data, &value, sizeof(cl_uint)); |
| 174 | arg->typeSize = sizeof(cl_uint); |
| 175 | } |
| 176 | |
| 177 | /* |
| 178 | * @inOut: memory object data transfer direction |
no outgoing calls
no test coverage detected