CLLOAD(3)             Standard Compute Layer (CL) Manual             CLLOAD(3)



NAME
       clload - dynamic loader for CL source and binary programs

SYNOPSIS
       #include <stdcl.h>

       void* clload( CONTEXT* cp, void* ptr, size_t len, int flags);

       Link with -lstdcl.

DESCRIPTION
       The function clload() is used to dynamically load CL programs into a CL
       context, where ptr points to the source or binary of length len.  A  CL
       program  will  be  built  (compiled)  from source or binary and for all
       devices within the target context.  A call to clload() returns  a  non-
       zero value on success and zero on error.

       The function clload() is normally used indirectly through the interface
       provided by clopen(), clsym() and clclose().

AUTHOR
       Written by David Richie.

REPORTING BUGS
       Report bugs to <support@browndeertechnology.com>

COPYRIGHT
       Copyright (C) 2009 Brown Deer Technology, LLC.  Licensed under the  GNU
       Lesser General Public License version 3 (LGPLv3).  There is NO WARRANTY
       to the extent permitted by law.

SEE ALSO
       clopen(3), clsym(3), clclose(), clld(1), stdcl(3)





libstdcl-0.7                      2009-11-10                         CLLOAD(3)