[ET Trac] [Einstein Toolkit] #742: Let OpenCL print available platform and device info on startup
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Jan 31 11:18:16 CST 2012
#742: Let OpenCL print available platform and device info on startup
--------------------------+-------------------------------------------------
Reporter: knarf | Owner:
Type: enhancement | Status: review
Priority: minor | Milestone: ET_2012_05
Component: Cactus | Version: development version
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by eschnett):
This is a good idea. Please apply, after correcting the problems below.
The patch has two problems:
1. It defines a globally visible function err_code -- that should be a
static function, or have a longer name, or have e.g. an OpenCL_ prefix.
2. It calls malloc without calling free; given that it already requires a
very modern cpp (with vararg macros), it could use automatic arrays
instead.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/742#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list