History log of /external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a97f1b697b01dca9f72d8559f8269188d76dccc9 07-Aug-2015 Serge Martin (EdB) <edb+mesa@sigluy.net> clover: Stub missing CL 1.2 functions.

As sugested by Tom a long time ago
and in order to be able to create Piglit tests

v2:
replace NOT_SUPPORTED_BY_CL_1_1 macro with an inline function
remove extra space in clLinkProgram arg

v3:
use __func__

v4:
back to a macro, it make more sense to use it with __func__

[ Francisco Jerez: Rename to CLOVER_NOT_SUPPORTED_UNTIL and pass the
minimum API version required by the entry point so the error
messages don't become stale when support for additional CL versions
is introduced. ]

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
0e8460a52882ec58743991fec431f85300bea209 22-Feb-2015 EdB <edb+mesa@sigluy.net> clover: Add CL_MEM_HOST_* flag checks.

Those flags have been introduced in OpenCL 1.2.

[ Francisco Jerez: Rebase. Throw CL_INVALID_VALUE from
clCreateSubBuffer if the subbuffer drops access flags from its
parent. Use single function taking the set of allowed host access
flags to validate memory transfer operands. ]

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
ec73778f1fd6e14623422d62605fc69dc8fb7aa4 07-Aug-2014 Bruno Jiménez <brunojimen@gmail.com> clover: Add support for CL_MAP_WRITE_INVALIDATE_REGION

OpenCL 1.2 CL_MAP_WRITE_INVALIDATE_REGION sounds a lot like
PIPE_TRANSFER_DISCARD_RANGE:

From OpenCL 1.2 spec:
The contents of the region being mapped are to be discarded.

From p_defines.h:
Discards the memory within the mapped region.

v2: Move the code for validating flags to the front-end as
suggested by Francisco Jerez

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
3d636b47859ba084799a4caa34d22e622487f89e 25-Jul-2014 Tom Stellard <thomas.stellard@amd.com> clover: Add checks for image support to the image functions v2

Most image functions are required to return a CL_INVALID_OPERATION
error when used on devices without image support.

v2:
- Simplified the code

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
8d8d0cb09eb8735a04fc36cc4d0e2dc9f9d460eb 21-Mar-2014 Tom Stellard <thomas.stellard@amd.com> clover: Fix typo in validate_object()

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
d70ad1a4f9110d206b079398dc1c3be43894f3e5 14-Mar-2014 Francisco Jerez <currojerez@riseup.net> clover: Fix region size error checking in some buffer transfer commands.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
a0d99937a0b4e778cc0b2e93886c814dd8819f6d 18-Feb-2014 Francisco Jerez <currojerez@riseup.net> clover: Replace the transfer(new ...) idiom with a safer create(...) helper function.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
c4578d2277155c50c8680849763850cddb8e8ec2 18-Feb-2014 Francisco Jerez <currojerez@riseup.net> clover: Migrate a bunch of pointers and references in the object tree to smart references.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
e26ed750668f1eb7aa9c81224bfd0c4a5f72e282 19-Oct-2013 Francisco Jerez <currojerez@riseup.net> clover: Improve region and pitch argument handling in memory transfer APIs.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
6230f77232a4703c9f98f569104ac03430a5fb95 06-Oct-2013 Francisco Jerez <currojerez@riseup.net> clover: Implement support for the ICD extension.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
d6f7afc3ed41a94175a0fdf9cf9651750104974c 01-Oct-2013 Francisco Jerez <currojerez@riseup.net> clover: Switch memory objects to the new model.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
9968d9daf264b726ee50bbc97937daac4e9c1811 01-Oct-2013 Francisco Jerez <currojerez@riseup.net> clover: Switch command queues to the new model.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
257781f243476863591965f22787ff390edd8ba0 01-Oct-2013 Francisco Jerez <currojerez@riseup.net> clover: Switch event objects to the new model.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
7d61769e447e47022bea5e9fd415344b45a5a050 06-Oct-2013 Francisco Jerez <currojerez@riseup.net> clover: Switch to the new utility code.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
8e14b82fd2c561cac3e0d5f84d5f67815ad53867 18-Sep-2013 Francisco Jerez <currojerez@riseup.net> clover: Replace a bunch of double underscores with single underscores.

Identifiers with double underscores are reserved, and using them has
undefined behavior according to the C++ spec. It's unlikely to make
any difference, but...

Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
f0cb66b69904b0a3e4083aa8874af63cf1c14321 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Restore 78-column wrapping of license text in C++-style comments.

The previous commit introduced extra words, breaking the formatting.

This text transformation was done automatically via the following shell
command:
$ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript2

where 'vimscript2' is a file containing:
/THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/^ *$/ !fmt -w 78 -p '// '
:wq

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.

This brings the license text in line with the MIT License as published
on the Open Source Initiative website:

http://opensource.org/licenses/mit-license.php

Generated automatically be the following shell command:
$ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {}

This introduces some wrapping issues, to be fixed in the next commit.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
02b808b08acc73b9b3d31832a7f137a9aae4bdd9 07-Apr-2013 Francisco Jerez <currojerez@riseup.net> clover: Fix usage of incorrect object as destination in clEnqueueCopyBufferToImage.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
26fc30ef83a9b1bb3d7379e7816e1f1eaafd6fb3 19-Oct-2012 Francisco Jerez <currojerez@riseup.net> clover: No need for clover::is_zero() to be a functor.

Simplify is_zero() somewhat, and as a side effect work around a gcc compiler
bug that causes build failure.

https://bugs.freedesktop.org/show_bug.cgi?id=56140

Reported-by: Dmitry Cherkassov <dcherkassov@gmail.com>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
8ed9aaea5112bcda9ec7120e1c3b6f0447cc6cd2 17-Sep-2012 Tom Stellard <thomas.stellard@amd.com> clover: Initialize height and depth to 1 for transfers

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp
c6db1b3396384186aab5b685fe1fd540e17b3a62 20-Apr-2012 Francisco Jerez <currojerez@riseup.net> clover: Import OpenCL state tracker.
/external/mesa3d/src/gallium/state_trackers/clover/api/transfer.cpp