Intel® Cilk™ Plus Include Directory  Revision 4358
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Typedefs | Functions
common.h File Reference

common.h More...

Go to the source code of this file.

Classes

struct  __cilkrts_pedigree
 Pedigree information kept in the worker and stack frame. More...
 

Namespaces

 cilk
 Namespace for all Intel Cilk Plus definitions that can be included in user code.
 
 cilk::internal
 Namespace for definitions re-used in other Intel Cilk Plus definitions.
 

Macros

#define CILK_LIBRARY_VERSION   102
 Intel Cilk Plus library version = 1.02.
 
#define __STDNS   std::
 Prefix standard library function and type names with __STDNS to get correct lookup in both C and C++.
 
#define CILK_EXPORT   __declspec(dllimport)
 Define export of runtime functions from shared library. More...
 
#define CILK_EXPORT_DATA   __declspec(dllimport)
 Define export of runtime data from shared library.
 
#define __CILKRTS_BEGIN_EXTERN_C   extern "C" {
 Macro to denote the start of a section in which all names have "C" linkage. More...
 
#define __CILKRTS_END_EXTERN_C   }
 Macro to denote the end of a section in which all names have "C" linkage. More...
 
#define __CILKRTS_EXTERN_C   extern "C"
 Macro to prefix a single definition which has "C" linkage. More...
 
#define __CILKRTS_NOTHROW   __declspec(nothrow)
 OS-independent macro to specify a function which is known to not throw an exception.
 
#define __CILKRTS_CACHE_LINE__   64
 Cache alignment. More...
 
#define CILK_ALIGNAS(n)   __declspec(align(n))
 Macro to specify alignment of a data member in a structure. More...
 
#define __CILKRTS_CACHE_ALIGN   CILK_ALIGNAS(__CILKRTS_CACHE_LINE__)
 Macro to specify cache-line alignment of a data member in a structure.
 
#define CILK_ALIGNAS_TYPE(t)   __declspec(align(__alignof(t)))
 Macro to specify a class as being at least as strictly aligned as some type on Windows. More...
 
#define CILK_API(RET_TYPE)   CILK_EXPORT RET_TYPE __CILKRTS_NOTHROW __cdecl
 A function called explicitly by the programmer.
 
#define CILK_ABI(RET_TYPE)   CILK_EXPORT RET_TYPE __CILKRTS_NOTHROW __cdecl
 A function called by compiler-generated code.
 
#define CILK_ABI_THROWS(RET_TYPE)   CILK_EXPORT RET_TYPE __cdecl
 An ABI function that may throw an exception. More...
 
#define __CILKRTS_ASSERT(e)   static_cast<void>(0)
 __CILKRTS_ASSERT should be defined for debugging only, otherwise it interferes with vectorization. More...
 
#define __CILKRTS_INLINE   extern __inline__
 OS-independent macro to specify a function that should be inlined.
 
#define CILK_EXPORT_AND_INLINE   __CILKRTS_INLINE
 Functions marked as CILK_EXPORT_AND_INLINE have both inline versions defined in the Intel Cilk Plus API, as well as non-inlined versions that are exported (for compatibility with previous versions that did not inline the functions).
 

Typedefs

typedef struct __cilkrts_worker __cilkrts_worker
 Worker struct, exported for inlined API methods.
 
typedef struct __cilkrts_worker__cilkrts_worker_ptr
 Worker struct pointer, exported for inlined API methods.
 
typedef void * __cilkrts_void_ptr
 void *, defined to work around complaints from the compiler about using __declspec(nothrow) after the "void *" return type
 
typedef struct __cilkrts_pedigree __cilkrts_pedigree
 Pedigree information kept in the worker and stack frame.
 

Functions

__cilkrts_worker_ptr __cilkrts_get_tls_worker (void)
 Fetch the worker out of TLS.
 

Detailed Description

common.h

Copyright (C) 2010-2015 Intel Corporation. All Rights Reserved.

The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material is protected by worldwide copyright laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel's prior express written permission.

No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.

Defines common macros and structures used by the Intel(R) Cilk(TM) Plus runtime.

© 2015 Intel Corporation. All rights reserved. | Intel and Cilk are trademarks of Intel Corporation in the U.S. and/or other countries