goto error;
}
- if (blocking_read != CL_TRUE)
- NOT_IMPLEMENTED;
-
if (!ptr || !size || offset + size > buffer->size) {
err = CL_INVALID_VALUE;
goto error;
goto error;
}
- if (blocking_read != CL_TRUE)
- NOT_IMPLEMENTED;
-
if (!ptr || !region || region[0] == 0 || region[1] == 0 || region[2] == 0) {
err = CL_INVALID_VALUE;
goto error;
goto error;
}
- if (blocking_write != CL_TRUE)
- NOT_IMPLEMENTED;
-
if (!ptr || !size || offset + size > buffer->size) {
err = CL_INVALID_VALUE;
goto error;
goto error;
}
- if (blocking_write != CL_TRUE)
- NOT_IMPLEMENTED;
-
-
if (!ptr || !region || region[0] == 0 || region[1] == 0 || region[2] == 0) {
err = CL_INVALID_VALUE;
goto error;
goto error;
}
- if (blocking_read != CL_TRUE)
- NOT_IMPLEMENTED;
-
if (!origin || !region || origin[0] + region[0] > image->w || origin[1] + region[1] > image->h || origin[2] + region[2] > image->depth) {
err = CL_INVALID_VALUE;
goto error;
goto error;
}
- if (blocking_write != CL_TRUE)
- NOT_IMPLEMENTED;
-
if (!origin || !region || origin[0] + region[0] > image->w || origin[1] + region[1] > image->h || origin[2] + region[2] > image->depth) {
err = CL_INVALID_VALUE;
goto error;
goto error;
}
- if (blocking_map != CL_TRUE)
- NOT_IMPLEMENTED;
-
if (!size || offset + size > buffer->size) {
err = CL_INVALID_VALUE;
goto error;
goto error;
}
- if (blocking_map != CL_TRUE)
- NOT_IMPLEMENTED;
-
if (!origin || !region || origin[0] + region[0] > image->w || origin[1] + region[1] > image->h || origin[2] + region[2] > image->depth) {
err = CL_INVALID_VALUE;
goto error;