clover: Replace the transfer(new ...) idiom with a safer create(...) helper function.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 18 Feb 2014 16:13:39 +0000 (17:13 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 21 Feb 2014 11:51:22 +0000 (12:51 +0100)
commita0d99937a0b4e778cc0b2e93886c814dd8819f6d
tree7c54830c49479a6732c2e1963d16792abef98939
parentc4578d2277155c50c8680849763850cddb8e8ec2
clover: Replace the transfer(new ...) idiom with a safer create(...) helper function.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/clover/api/event.cpp
src/gallium/state_trackers/clover/api/kernel.cpp
src/gallium/state_trackers/clover/api/transfer.cpp
src/gallium/state_trackers/clover/api/util.hpp
src/gallium/state_trackers/clover/core/platform.cpp
src/gallium/state_trackers/clover/util/pointer.hpp