[ofw] [Patch 23/62] Reference implementation of NDv2
Fab Tillier
ftillier at microsoft.com
Wed Feb 20 17:51:00 PST 2013
Allow cl_perf.h header to be included from C++ code.
Signed-off-by: Fab Tillier <ftillier at microsoft.com>
diff -dwup3 -x *svn* -x *makefile.inc -x *sources -r c:\dev\openib\ofw\gen1\branches\mlx4_30\trunk\inc\complib\cl_perf.h .\inc\complib\cl_perf.h
--- c:\dev\openib\ofw\gen1\branches\mlx4_30\trunk\inc\complib\cl_perf.h Thu May 31 11:22:17 2012
+++ .\inc\complib\cl_perf.h Thu Jul 26 16:54:54 2012
@@ -762,6 +762,10 @@ cl_perf_stop(
* performance tracking.
*/
+#ifdef __cplusplus
+extern "C"
+{
+#endif
/*
* Initialize the state of the performance tracking structure.
@@ -801,5 +805,8 @@ CL_EXPORT void CL_API
__cl_perf_display(
IN const cl_perf_t* const p_perf );
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
#endif /* _CL_PERF_H_ */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndv2.23.patch
Type: application/octet-stream
Size: 677 bytes
Desc: ndv2.23.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130221/4cbf4768/attachment.obj>
More information about the ofw
mailing list