00001 #region License
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #endregion
00027 #if EXPERIMENTAL
00028 namespace OpenTK.Compute.CL10
00029 {
00030 using System;
00031 using System.Text;
00032 using System.Runtime.InteropServices;
00033 #pragma warning disable 3019
00034 #pragma warning disable 1591
00035 #pragma warning disable 1572
00036 #pragma warning disable 1573
00037
00038 partial class CL
00039 {
00040
00041 [System.CLSCompliant(false)]
00042 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00043 public static
00044 unsafe int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T5 user_data)
00045 where T5 : struct
00046 {
00047 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00048 try
00049 {
00050 int retval = Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00051 user_data = (T5)user_data_ptr.Target;
00052 return retval;
00053 }
00054 finally
00055 {
00056 user_data_ptr.Free();
00057 }
00058 }
00059
00060 [System.CLSCompliant(false)]
00061 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00062 public static
00063 unsafe int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,,] user_data)
00064 where T5 : struct
00065 {
00066 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00067 try
00068 {
00069 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00070 }
00071 finally
00072 {
00073 user_data_ptr.Free();
00074 }
00075 }
00076
00077 [System.CLSCompliant(false)]
00078 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00079 public static
00080 unsafe int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,] user_data)
00081 where T5 : struct
00082 {
00083 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00084 try
00085 {
00086 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00087 }
00088 finally
00089 {
00090 user_data_ptr.Free();
00091 }
00092 }
00093
00094 [System.CLSCompliant(false)]
00095 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00096 public static
00097 unsafe int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[] user_data)
00098 where T5 : struct
00099 {
00100 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00101 try
00102 {
00103 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00104 }
00105 finally
00106 {
00107 user_data_ptr.Free();
00108 }
00109 }
00110
00111 [System.CLSCompliant(false)]
00112 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00113 public static
00114 unsafe int BuildProgram(IntPtr program, Int32 num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, IntPtr user_data)
00115 {
00116 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data);
00117 }
00118
00119 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00120 public static
00121 int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T5 user_data)
00122 where T5 : struct
00123 {
00124 unsafe
00125 {
00126 fixed (IntPtr* device_list_ptr = device_list)
00127 {
00128 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00129 try
00130 {
00131 int retval = Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00132 user_data = (T5)user_data_ptr.Target;
00133 return retval;
00134 }
00135 finally
00136 {
00137 user_data_ptr.Free();
00138 }
00139 }
00140 }
00141 }
00142
00143 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00144 public static
00145 int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,,] user_data)
00146 where T5 : struct
00147 {
00148 unsafe
00149 {
00150 fixed (IntPtr* device_list_ptr = device_list)
00151 {
00152 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00153 try
00154 {
00155 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00156 }
00157 finally
00158 {
00159 user_data_ptr.Free();
00160 }
00161 }
00162 }
00163 }
00164
00165 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00166 public static
00167 int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,] user_data)
00168 where T5 : struct
00169 {
00170 unsafe
00171 {
00172 fixed (IntPtr* device_list_ptr = device_list)
00173 {
00174 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00175 try
00176 {
00177 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00178 }
00179 finally
00180 {
00181 user_data_ptr.Free();
00182 }
00183 }
00184 }
00185 }
00186
00187 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00188 public static
00189 int BuildProgram<T5>(IntPtr program, Int32 num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[] user_data)
00190 where T5 : struct
00191 {
00192 unsafe
00193 {
00194 fixed (IntPtr* device_list_ptr = device_list)
00195 {
00196 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00197 try
00198 {
00199 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00200 }
00201 finally
00202 {
00203 user_data_ptr.Free();
00204 }
00205 }
00206 }
00207 }
00208
00209 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00210 public static
00211 int BuildProgram(IntPtr program, Int32 num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, IntPtr user_data)
00212 {
00213 unsafe
00214 {
00215 fixed (IntPtr* device_list_ptr = device_list)
00216 {
00217 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data);
00218 }
00219 }
00220 }
00221
00222 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00223 public static
00224 int BuildProgram<T5>(IntPtr program, Int32 num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T5 user_data)
00225 where T5 : struct
00226 {
00227 unsafe
00228 {
00229 fixed (IntPtr* device_list_ptr = &device_list)
00230 {
00231 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00232 try
00233 {
00234 int retval = Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00235 user_data = (T5)user_data_ptr.Target;
00236 return retval;
00237 }
00238 finally
00239 {
00240 user_data_ptr.Free();
00241 }
00242 }
00243 }
00244 }
00245
00246 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00247 public static
00248 int BuildProgram<T5>(IntPtr program, Int32 num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,,] user_data)
00249 where T5 : struct
00250 {
00251 unsafe
00252 {
00253 fixed (IntPtr* device_list_ptr = &device_list)
00254 {
00255 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00256 try
00257 {
00258 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00259 }
00260 finally
00261 {
00262 user_data_ptr.Free();
00263 }
00264 }
00265 }
00266 }
00267
00268 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00269 public static
00270 int BuildProgram<T5>(IntPtr program, Int32 num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,] user_data)
00271 where T5 : struct
00272 {
00273 unsafe
00274 {
00275 fixed (IntPtr* device_list_ptr = &device_list)
00276 {
00277 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00278 try
00279 {
00280 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00281 }
00282 finally
00283 {
00284 user_data_ptr.Free();
00285 }
00286 }
00287 }
00288 }
00289
00290 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00291 public static
00292 int BuildProgram<T5>(IntPtr program, Int32 num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[] user_data)
00293 where T5 : struct
00294 {
00295 unsafe
00296 {
00297 fixed (IntPtr* device_list_ptr = &device_list)
00298 {
00299 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00300 try
00301 {
00302 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00303 }
00304 finally
00305 {
00306 user_data_ptr.Free();
00307 }
00308 }
00309 }
00310 }
00311
00312 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00313 public static
00314 int BuildProgram(IntPtr program, Int32 num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, IntPtr user_data)
00315 {
00316 unsafe
00317 {
00318 fixed (IntPtr* device_list_ptr = &device_list)
00319 {
00320 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data);
00321 }
00322 }
00323 }
00324
00325 [System.CLSCompliant(false)]
00326 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00327 public static
00328 unsafe int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T5 user_data)
00329 where T5 : struct
00330 {
00331 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00332 try
00333 {
00334 int retval = Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00335 user_data = (T5)user_data_ptr.Target;
00336 return retval;
00337 }
00338 finally
00339 {
00340 user_data_ptr.Free();
00341 }
00342 }
00343
00344 [System.CLSCompliant(false)]
00345 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00346 public static
00347 unsafe int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,,] user_data)
00348 where T5 : struct
00349 {
00350 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00351 try
00352 {
00353 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00354 }
00355 finally
00356 {
00357 user_data_ptr.Free();
00358 }
00359 }
00360
00361 [System.CLSCompliant(false)]
00362 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00363 public static
00364 unsafe int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,] user_data)
00365 where T5 : struct
00366 {
00367 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00368 try
00369 {
00370 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00371 }
00372 finally
00373 {
00374 user_data_ptr.Free();
00375 }
00376 }
00377
00378 [System.CLSCompliant(false)]
00379 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00380 public static
00381 unsafe int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[] user_data)
00382 where T5 : struct
00383 {
00384 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00385 try
00386 {
00387 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00388 }
00389 finally
00390 {
00391 user_data_ptr.Free();
00392 }
00393 }
00394
00395 [System.CLSCompliant(false)]
00396 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00397 public static
00398 unsafe int BuildProgram(IntPtr program, uint num_devices, IntPtr* device_list, String options, IntPtr pfn_notify, IntPtr user_data)
00399 {
00400 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data);
00401 }
00402
00403 [System.CLSCompliant(false)]
00404 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00405 public static
00406 int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T5 user_data)
00407 where T5 : struct
00408 {
00409 unsafe
00410 {
00411 fixed (IntPtr* device_list_ptr = device_list)
00412 {
00413 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00414 try
00415 {
00416 int retval = Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00417 user_data = (T5)user_data_ptr.Target;
00418 return retval;
00419 }
00420 finally
00421 {
00422 user_data_ptr.Free();
00423 }
00424 }
00425 }
00426 }
00427
00428 [System.CLSCompliant(false)]
00429 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00430 public static
00431 int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,,] user_data)
00432 where T5 : struct
00433 {
00434 unsafe
00435 {
00436 fixed (IntPtr* device_list_ptr = device_list)
00437 {
00438 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00439 try
00440 {
00441 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00442 }
00443 finally
00444 {
00445 user_data_ptr.Free();
00446 }
00447 }
00448 }
00449 }
00450
00451 [System.CLSCompliant(false)]
00452 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00453 public static
00454 int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,] user_data)
00455 where T5 : struct
00456 {
00457 unsafe
00458 {
00459 fixed (IntPtr* device_list_ptr = device_list)
00460 {
00461 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00462 try
00463 {
00464 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00465 }
00466 finally
00467 {
00468 user_data_ptr.Free();
00469 }
00470 }
00471 }
00472 }
00473
00474 [System.CLSCompliant(false)]
00475 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00476 public static
00477 int BuildProgram<T5>(IntPtr program, uint num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[] user_data)
00478 where T5 : struct
00479 {
00480 unsafe
00481 {
00482 fixed (IntPtr* device_list_ptr = device_list)
00483 {
00484 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00485 try
00486 {
00487 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00488 }
00489 finally
00490 {
00491 user_data_ptr.Free();
00492 }
00493 }
00494 }
00495 }
00496
00497 [System.CLSCompliant(false)]
00498 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00499 public static
00500 int BuildProgram(IntPtr program, uint num_devices, IntPtr[] device_list, String options, IntPtr pfn_notify, IntPtr user_data)
00501 {
00502 unsafe
00503 {
00504 fixed (IntPtr* device_list_ptr = device_list)
00505 {
00506 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data);
00507 }
00508 }
00509 }
00510
00511 [System.CLSCompliant(false)]
00512 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00513 public static
00514 int BuildProgram<T5>(IntPtr program, uint num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T5 user_data)
00515 where T5 : struct
00516 {
00517 unsafe
00518 {
00519 fixed (IntPtr* device_list_ptr = &device_list)
00520 {
00521 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00522 try
00523 {
00524 int retval = Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00525 user_data = (T5)user_data_ptr.Target;
00526 return retval;
00527 }
00528 finally
00529 {
00530 user_data_ptr.Free();
00531 }
00532 }
00533 }
00534 }
00535
00536 [System.CLSCompliant(false)]
00537 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00538 public static
00539 int BuildProgram<T5>(IntPtr program, uint num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,,] user_data)
00540 where T5 : struct
00541 {
00542 unsafe
00543 {
00544 fixed (IntPtr* device_list_ptr = &device_list)
00545 {
00546 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00547 try
00548 {
00549 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00550 }
00551 finally
00552 {
00553 user_data_ptr.Free();
00554 }
00555 }
00556 }
00557 }
00558
00559 [System.CLSCompliant(false)]
00560 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00561 public static
00562 int BuildProgram<T5>(IntPtr program, uint num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[,] user_data)
00563 where T5 : struct
00564 {
00565 unsafe
00566 {
00567 fixed (IntPtr* device_list_ptr = &device_list)
00568 {
00569 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00570 try
00571 {
00572 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00573 }
00574 finally
00575 {
00576 user_data_ptr.Free();
00577 }
00578 }
00579 }
00580 }
00581
00582 [System.CLSCompliant(false)]
00583 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00584 public static
00585 int BuildProgram<T5>(IntPtr program, uint num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, [InAttribute, OutAttribute] T5[] user_data)
00586 where T5 : struct
00587 {
00588 unsafe
00589 {
00590 fixed (IntPtr* device_list_ptr = &device_list)
00591 {
00592 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00593 try
00594 {
00595 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject());
00596 }
00597 finally
00598 {
00599 user_data_ptr.Free();
00600 }
00601 }
00602 }
00603 }
00604
00605 [System.CLSCompliant(false)]
00606 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clBuildProgram")]
00607 public static
00608 int BuildProgram(IntPtr program, uint num_devices, ref IntPtr device_list, String options, IntPtr pfn_notify, IntPtr user_data)
00609 {
00610 unsafe
00611 {
00612 fixed (IntPtr* device_list_ptr = &device_list)
00613 {
00614 return Delegates.clBuildProgram((IntPtr)program, (uint)num_devices, (IntPtr*)device_list_ptr, (String)options, (IntPtr)pfn_notify, (IntPtr)user_data);
00615 }
00616 }
00617 }
00618
00619 [System.CLSCompliant(false)]
00620 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00621 public static
00622 unsafe IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] ref T3 host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
00623 where T3 : struct
00624 {
00625 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00626 try
00627 {
00628 IntPtr retval = Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
00629 host_ptr = (T3)host_ptr_ptr.Target;
00630 return retval;
00631 }
00632 finally
00633 {
00634 host_ptr_ptr.Free();
00635 }
00636 }
00637
00638 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00639 public static
00640 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] ref T3 host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
00641 where T3 : struct
00642 {
00643 unsafe
00644 {
00645 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
00646 {
00647 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00648 try
00649 {
00650 IntPtr retval = Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00651 host_ptr = (T3)host_ptr_ptr.Target;
00652 return retval;
00653 }
00654 finally
00655 {
00656 host_ptr_ptr.Free();
00657 }
00658 }
00659 }
00660 }
00661
00662 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00663 public static
00664 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] ref T3 host_ptr, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
00665 where T3 : struct
00666 {
00667 unsafe
00668 {
00669 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
00670 {
00671 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00672 try
00673 {
00674 IntPtr retval = Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00675 host_ptr = (T3)host_ptr_ptr.Target;
00676 errcode_ret = *errcode_ret_ptr;
00677 return retval;
00678 }
00679 finally
00680 {
00681 host_ptr_ptr.Free();
00682 }
00683 }
00684 }
00685 }
00686
00687 [System.CLSCompliant(false)]
00688 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00689 public static
00690 unsafe IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[,,] host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
00691 where T3 : struct
00692 {
00693 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00694 try
00695 {
00696 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
00697 }
00698 finally
00699 {
00700 host_ptr_ptr.Free();
00701 }
00702 }
00703
00704 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00705 public static
00706 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[,,] host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
00707 where T3 : struct
00708 {
00709 unsafe
00710 {
00711 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
00712 {
00713 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00714 try
00715 {
00716 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00717 }
00718 finally
00719 {
00720 host_ptr_ptr.Free();
00721 }
00722 }
00723 }
00724 }
00725
00726 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00727 public static
00728 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[,,] host_ptr, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
00729 where T3 : struct
00730 {
00731 unsafe
00732 {
00733 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
00734 {
00735 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00736 try
00737 {
00738 IntPtr retval = Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00739 errcode_ret = *errcode_ret_ptr;
00740 return retval;
00741 }
00742 finally
00743 {
00744 host_ptr_ptr.Free();
00745 }
00746 }
00747 }
00748 }
00749
00750 [System.CLSCompliant(false)]
00751 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00752 public static
00753 unsafe IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[,] host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
00754 where T3 : struct
00755 {
00756 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00757 try
00758 {
00759 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
00760 }
00761 finally
00762 {
00763 host_ptr_ptr.Free();
00764 }
00765 }
00766
00767 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00768 public static
00769 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[,] host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
00770 where T3 : struct
00771 {
00772 unsafe
00773 {
00774 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
00775 {
00776 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00777 try
00778 {
00779 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00780 }
00781 finally
00782 {
00783 host_ptr_ptr.Free();
00784 }
00785 }
00786 }
00787 }
00788
00789 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00790 public static
00791 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[,] host_ptr, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
00792 where T3 : struct
00793 {
00794 unsafe
00795 {
00796 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
00797 {
00798 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00799 try
00800 {
00801 IntPtr retval = Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00802 errcode_ret = *errcode_ret_ptr;
00803 return retval;
00804 }
00805 finally
00806 {
00807 host_ptr_ptr.Free();
00808 }
00809 }
00810 }
00811 }
00812
00813 [System.CLSCompliant(false)]
00814 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00815 public static
00816 unsafe IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[] host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
00817 where T3 : struct
00818 {
00819 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00820 try
00821 {
00822 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
00823 }
00824 finally
00825 {
00826 host_ptr_ptr.Free();
00827 }
00828 }
00829
00830 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00831 public static
00832 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[] host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
00833 where T3 : struct
00834 {
00835 unsafe
00836 {
00837 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
00838 {
00839 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00840 try
00841 {
00842 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00843 }
00844 finally
00845 {
00846 host_ptr_ptr.Free();
00847 }
00848 }
00849 }
00850 }
00851
00852 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00853 public static
00854 IntPtr CreateBuffer<T3>(IntPtr context, MemFlags flags, IntPtr size, [InAttribute, OutAttribute] T3[] host_ptr, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
00855 where T3 : struct
00856 {
00857 unsafe
00858 {
00859 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
00860 {
00861 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
00862 try
00863 {
00864 IntPtr retval = Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00865 errcode_ret = *errcode_ret_ptr;
00866 return retval;
00867 }
00868 finally
00869 {
00870 host_ptr_ptr.Free();
00871 }
00872 }
00873 }
00874 }
00875
00876 [System.CLSCompliant(false)]
00877 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00878 public static
00879 unsafe IntPtr CreateBuffer(IntPtr context, MemFlags flags, IntPtr size, IntPtr host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
00880 {
00881 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
00882 }
00883
00884 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00885 public static
00886 IntPtr CreateBuffer(IntPtr context, MemFlags flags, IntPtr size, IntPtr host_ptr, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
00887 {
00888 unsafe
00889 {
00890 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
00891 {
00892 return Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00893 }
00894 }
00895 }
00896
00897 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateBuffer")]
00898 public static
00899 IntPtr CreateBuffer(IntPtr context, MemFlags flags, IntPtr size, IntPtr host_ptr, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
00900 {
00901 unsafe
00902 {
00903 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
00904 {
00905 IntPtr retval = Delegates.clCreateBuffer((IntPtr)context, (MemFlags)flags, (IntPtr)size, (IntPtr)host_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00906 errcode_ret = *errcode_ret_ptr;
00907 return retval;
00908 }
00909 }
00910 }
00911
00912 [System.CLSCompliant(false)]
00913 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateCommandQueue")]
00914 public static
00915 unsafe IntPtr CreateCommandQueue(IntPtr context, IntPtr device, CommandQueueFlags properties, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
00916 {
00917 return Delegates.clCreateCommandQueue((IntPtr)context, (IntPtr)device, (CommandQueueFlags)properties, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
00918 }
00919
00920 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateCommandQueue")]
00921 public static
00922 IntPtr CreateCommandQueue(IntPtr context, IntPtr device, CommandQueueFlags properties, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
00923 {
00924 unsafe
00925 {
00926 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
00927 {
00928 return Delegates.clCreateCommandQueue((IntPtr)context, (IntPtr)device, (CommandQueueFlags)properties, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00929 }
00930 }
00931 }
00932
00933 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateCommandQueue")]
00934 public static
00935 IntPtr CreateCommandQueue(IntPtr context, IntPtr device, CommandQueueFlags properties, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
00936 {
00937 unsafe
00938 {
00939 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
00940 {
00941 IntPtr retval = Delegates.clCreateCommandQueue((IntPtr)context, (IntPtr)device, (CommandQueueFlags)properties, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
00942 errcode_ret = *errcode_ret_ptr;
00943 return retval;
00944 }
00945 }
00946 }
00947
00948 [System.CLSCompliant(false)]
00949 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
00950 public static
00951 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, Int32 num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T4 user_data, [OutAttribute] int* errcode_ret)
00952 where T4 : struct
00953 {
00954 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00955 try
00956 {
00957 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
00958 user_data = (T4)user_data_ptr.Target;
00959 return retval;
00960 }
00961 finally
00962 {
00963 user_data_ptr.Free();
00964 }
00965 }
00966
00967 [System.CLSCompliant(false)]
00968 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
00969 public static
00970 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, Int32 num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,,] user_data, [OutAttribute] int* errcode_ret)
00971 where T4 : struct
00972 {
00973 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00974 try
00975 {
00976 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
00977 }
00978 finally
00979 {
00980 user_data_ptr.Free();
00981 }
00982 }
00983
00984 [System.CLSCompliant(false)]
00985 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
00986 public static
00987 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, Int32 num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,] user_data, [OutAttribute] int* errcode_ret)
00988 where T4 : struct
00989 {
00990 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
00991 try
00992 {
00993 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
00994 }
00995 finally
00996 {
00997 user_data_ptr.Free();
00998 }
00999 }
01000
01001 [System.CLSCompliant(false)]
01002 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01003 public static
01004 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, Int32 num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[] user_data, [OutAttribute] int* errcode_ret)
01005 where T4 : struct
01006 {
01007 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01008 try
01009 {
01010 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01011 }
01012 finally
01013 {
01014 user_data_ptr.Free();
01015 }
01016 }
01017
01018 [System.CLSCompliant(false)]
01019 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01020 public static
01021 unsafe IntPtr CreateContext(ContextProperties* properties, Int32 num_devices, IntPtr* devices, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] int* errcode_ret)
01022 {
01023 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data, (int*)errcode_ret);
01024 }
01025
01026 [System.CLSCompliant(false)]
01027 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01028 public static
01029 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, uint num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T4 user_data, [OutAttribute] int* errcode_ret)
01030 where T4 : struct
01031 {
01032 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01033 try
01034 {
01035 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01036 user_data = (T4)user_data_ptr.Target;
01037 return retval;
01038 }
01039 finally
01040 {
01041 user_data_ptr.Free();
01042 }
01043 }
01044
01045 [System.CLSCompliant(false)]
01046 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01047 public static
01048 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, uint num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,,] user_data, [OutAttribute] int* errcode_ret)
01049 where T4 : struct
01050 {
01051 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01052 try
01053 {
01054 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01055 }
01056 finally
01057 {
01058 user_data_ptr.Free();
01059 }
01060 }
01061
01062 [System.CLSCompliant(false)]
01063 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01064 public static
01065 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, uint num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,] user_data, [OutAttribute] int* errcode_ret)
01066 where T4 : struct
01067 {
01068 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01069 try
01070 {
01071 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01072 }
01073 finally
01074 {
01075 user_data_ptr.Free();
01076 }
01077 }
01078
01079 [System.CLSCompliant(false)]
01080 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01081 public static
01082 unsafe IntPtr CreateContext<T4>(ContextProperties* properties, uint num_devices, IntPtr* devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[] user_data, [OutAttribute] int* errcode_ret)
01083 where T4 : struct
01084 {
01085 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01086 try
01087 {
01088 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01089 }
01090 finally
01091 {
01092 user_data_ptr.Free();
01093 }
01094 }
01095
01096 [System.CLSCompliant(false)]
01097 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01098 public static
01099 unsafe IntPtr CreateContext(ContextProperties* properties, uint num_devices, IntPtr* devices, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] int* errcode_ret)
01100 {
01101 return Delegates.clCreateContext((ContextProperties*)properties, (uint)num_devices, (IntPtr*)devices, (IntPtr)pfn_notify, (IntPtr)user_data, (int*)errcode_ret);
01102 }
01103
01104 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01105 public static
01106 IntPtr CreateContext<T4>(ContextProperties[] properties, Int32 num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T4 user_data, [OutAttribute] int[] errcode_ret)
01107 where T4 : struct
01108 {
01109 unsafe
01110 {
01111 fixed (ContextProperties* properties_ptr = properties)
01112 fixed (IntPtr* devices_ptr = devices)
01113 fixed (int* errcode_ret_ptr = errcode_ret)
01114 {
01115 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01116 try
01117 {
01118 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01119 user_data = (T4)user_data_ptr.Target;
01120 return retval;
01121 }
01122 finally
01123 {
01124 user_data_ptr.Free();
01125 }
01126 }
01127 }
01128 }
01129
01130 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01131 public static
01132 IntPtr CreateContext<T4>(ContextProperties[] properties, Int32 num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,,] user_data, [OutAttribute] int[] errcode_ret)
01133 where T4 : struct
01134 {
01135 unsafe
01136 {
01137 fixed (ContextProperties* properties_ptr = properties)
01138 fixed (IntPtr* devices_ptr = devices)
01139 fixed (int* errcode_ret_ptr = errcode_ret)
01140 {
01141 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01142 try
01143 {
01144 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01145 }
01146 finally
01147 {
01148 user_data_ptr.Free();
01149 }
01150 }
01151 }
01152 }
01153
01154 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01155 public static
01156 IntPtr CreateContext<T4>(ContextProperties[] properties, Int32 num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,] user_data, [OutAttribute] int[] errcode_ret)
01157 where T4 : struct
01158 {
01159 unsafe
01160 {
01161 fixed (ContextProperties* properties_ptr = properties)
01162 fixed (IntPtr* devices_ptr = devices)
01163 fixed (int* errcode_ret_ptr = errcode_ret)
01164 {
01165 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01166 try
01167 {
01168 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01169 }
01170 finally
01171 {
01172 user_data_ptr.Free();
01173 }
01174 }
01175 }
01176 }
01177
01178 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01179 public static
01180 IntPtr CreateContext<T4>(ContextProperties[] properties, Int32 num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[] user_data, [OutAttribute] int[] errcode_ret)
01181 where T4 : struct
01182 {
01183 unsafe
01184 {
01185 fixed (ContextProperties* properties_ptr = properties)
01186 fixed (IntPtr* devices_ptr = devices)
01187 fixed (int* errcode_ret_ptr = errcode_ret)
01188 {
01189 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01190 try
01191 {
01192 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01193 }
01194 finally
01195 {
01196 user_data_ptr.Free();
01197 }
01198 }
01199 }
01200 }
01201
01202 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01203 public static
01204 IntPtr CreateContext(ContextProperties[] properties, Int32 num_devices, IntPtr[] devices, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] int[] errcode_ret)
01205 {
01206 unsafe
01207 {
01208 fixed (ContextProperties* properties_ptr = properties)
01209 fixed (IntPtr* devices_ptr = devices)
01210 fixed (int* errcode_ret_ptr = errcode_ret)
01211 {
01212 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data, (int*)errcode_ret_ptr);
01213 }
01214 }
01215 }
01216
01217 [System.CLSCompliant(false)]
01218 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01219 public static
01220 IntPtr CreateContext<T4>(ContextProperties[] properties, uint num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T4 user_data, [OutAttribute] int[] errcode_ret)
01221 where T4 : struct
01222 {
01223 unsafe
01224 {
01225 fixed (ContextProperties* properties_ptr = properties)
01226 fixed (IntPtr* devices_ptr = devices)
01227 fixed (int* errcode_ret_ptr = errcode_ret)
01228 {
01229 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01230 try
01231 {
01232 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01233 user_data = (T4)user_data_ptr.Target;
01234 return retval;
01235 }
01236 finally
01237 {
01238 user_data_ptr.Free();
01239 }
01240 }
01241 }
01242 }
01243
01244 [System.CLSCompliant(false)]
01245 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01246 public static
01247 IntPtr CreateContext<T4>(ContextProperties[] properties, uint num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,,] user_data, [OutAttribute] int[] errcode_ret)
01248 where T4 : struct
01249 {
01250 unsafe
01251 {
01252 fixed (ContextProperties* properties_ptr = properties)
01253 fixed (IntPtr* devices_ptr = devices)
01254 fixed (int* errcode_ret_ptr = errcode_ret)
01255 {
01256 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01257 try
01258 {
01259 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01260 }
01261 finally
01262 {
01263 user_data_ptr.Free();
01264 }
01265 }
01266 }
01267 }
01268
01269 [System.CLSCompliant(false)]
01270 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01271 public static
01272 IntPtr CreateContext<T4>(ContextProperties[] properties, uint num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,] user_data, [OutAttribute] int[] errcode_ret)
01273 where T4 : struct
01274 {
01275 unsafe
01276 {
01277 fixed (ContextProperties* properties_ptr = properties)
01278 fixed (IntPtr* devices_ptr = devices)
01279 fixed (int* errcode_ret_ptr = errcode_ret)
01280 {
01281 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01282 try
01283 {
01284 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01285 }
01286 finally
01287 {
01288 user_data_ptr.Free();
01289 }
01290 }
01291 }
01292 }
01293
01294 [System.CLSCompliant(false)]
01295 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01296 public static
01297 IntPtr CreateContext<T4>(ContextProperties[] properties, uint num_devices, IntPtr[] devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[] user_data, [OutAttribute] int[] errcode_ret)
01298 where T4 : struct
01299 {
01300 unsafe
01301 {
01302 fixed (ContextProperties* properties_ptr = properties)
01303 fixed (IntPtr* devices_ptr = devices)
01304 fixed (int* errcode_ret_ptr = errcode_ret)
01305 {
01306 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01307 try
01308 {
01309 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01310 }
01311 finally
01312 {
01313 user_data_ptr.Free();
01314 }
01315 }
01316 }
01317 }
01318
01319 [System.CLSCompliant(false)]
01320 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01321 public static
01322 IntPtr CreateContext(ContextProperties[] properties, uint num_devices, IntPtr[] devices, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] int[] errcode_ret)
01323 {
01324 unsafe
01325 {
01326 fixed (ContextProperties* properties_ptr = properties)
01327 fixed (IntPtr* devices_ptr = devices)
01328 fixed (int* errcode_ret_ptr = errcode_ret)
01329 {
01330 return Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data, (int*)errcode_ret_ptr);
01331 }
01332 }
01333 }
01334
01335 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01336 public static
01337 IntPtr CreateContext<T4>(ref ContextProperties properties, Int32 num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T4 user_data, [OutAttribute] out int errcode_ret)
01338 where T4 : struct
01339 {
01340 unsafe
01341 {
01342 fixed (ContextProperties* properties_ptr = &properties)
01343 fixed (IntPtr* devices_ptr = &devices)
01344 fixed (int* errcode_ret_ptr = &errcode_ret)
01345 {
01346 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01347 try
01348 {
01349 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01350 user_data = (T4)user_data_ptr.Target;
01351 errcode_ret = *errcode_ret_ptr;
01352 return retval;
01353 }
01354 finally
01355 {
01356 user_data_ptr.Free();
01357 }
01358 }
01359 }
01360 }
01361
01362 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01363 public static
01364 IntPtr CreateContext<T4>(ref ContextProperties properties, Int32 num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,,] user_data, [OutAttribute] out int errcode_ret)
01365 where T4 : struct
01366 {
01367 unsafe
01368 {
01369 fixed (ContextProperties* properties_ptr = &properties)
01370 fixed (IntPtr* devices_ptr = &devices)
01371 fixed (int* errcode_ret_ptr = &errcode_ret)
01372 {
01373 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01374 try
01375 {
01376 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01377 errcode_ret = *errcode_ret_ptr;
01378 return retval;
01379 }
01380 finally
01381 {
01382 user_data_ptr.Free();
01383 }
01384 }
01385 }
01386 }
01387
01388 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01389 public static
01390 IntPtr CreateContext<T4>(ref ContextProperties properties, Int32 num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,] user_data, [OutAttribute] out int errcode_ret)
01391 where T4 : struct
01392 {
01393 unsafe
01394 {
01395 fixed (ContextProperties* properties_ptr = &properties)
01396 fixed (IntPtr* devices_ptr = &devices)
01397 fixed (int* errcode_ret_ptr = &errcode_ret)
01398 {
01399 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01400 try
01401 {
01402 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01403 errcode_ret = *errcode_ret_ptr;
01404 return retval;
01405 }
01406 finally
01407 {
01408 user_data_ptr.Free();
01409 }
01410 }
01411 }
01412 }
01413
01414 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01415 public static
01416 IntPtr CreateContext<T4>(ref ContextProperties properties, Int32 num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[] user_data, [OutAttribute] out int errcode_ret)
01417 where T4 : struct
01418 {
01419 unsafe
01420 {
01421 fixed (ContextProperties* properties_ptr = &properties)
01422 fixed (IntPtr* devices_ptr = &devices)
01423 fixed (int* errcode_ret_ptr = &errcode_ret)
01424 {
01425 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01426 try
01427 {
01428 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01429 errcode_ret = *errcode_ret_ptr;
01430 return retval;
01431 }
01432 finally
01433 {
01434 user_data_ptr.Free();
01435 }
01436 }
01437 }
01438 }
01439
01440 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01441 public static
01442 IntPtr CreateContext(ref ContextProperties properties, Int32 num_devices, ref IntPtr devices, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] out int errcode_ret)
01443 {
01444 unsafe
01445 {
01446 fixed (ContextProperties* properties_ptr = &properties)
01447 fixed (IntPtr* devices_ptr = &devices)
01448 fixed (int* errcode_ret_ptr = &errcode_ret)
01449 {
01450 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data, (int*)errcode_ret_ptr);
01451 errcode_ret = *errcode_ret_ptr;
01452 return retval;
01453 }
01454 }
01455 }
01456
01457 [System.CLSCompliant(false)]
01458 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01459 public static
01460 IntPtr CreateContext<T4>(ref ContextProperties properties, uint num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T4 user_data, [OutAttribute] out int errcode_ret)
01461 where T4 : struct
01462 {
01463 unsafe
01464 {
01465 fixed (ContextProperties* properties_ptr = &properties)
01466 fixed (IntPtr* devices_ptr = &devices)
01467 fixed (int* errcode_ret_ptr = &errcode_ret)
01468 {
01469 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01470 try
01471 {
01472 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01473 user_data = (T4)user_data_ptr.Target;
01474 errcode_ret = *errcode_ret_ptr;
01475 return retval;
01476 }
01477 finally
01478 {
01479 user_data_ptr.Free();
01480 }
01481 }
01482 }
01483 }
01484
01485 [System.CLSCompliant(false)]
01486 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01487 public static
01488 IntPtr CreateContext<T4>(ref ContextProperties properties, uint num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,,] user_data, [OutAttribute] out int errcode_ret)
01489 where T4 : struct
01490 {
01491 unsafe
01492 {
01493 fixed (ContextProperties* properties_ptr = &properties)
01494 fixed (IntPtr* devices_ptr = &devices)
01495 fixed (int* errcode_ret_ptr = &errcode_ret)
01496 {
01497 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01498 try
01499 {
01500 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01501 errcode_ret = *errcode_ret_ptr;
01502 return retval;
01503 }
01504 finally
01505 {
01506 user_data_ptr.Free();
01507 }
01508 }
01509 }
01510 }
01511
01512 [System.CLSCompliant(false)]
01513 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01514 public static
01515 IntPtr CreateContext<T4>(ref ContextProperties properties, uint num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[,] user_data, [OutAttribute] out int errcode_ret)
01516 where T4 : struct
01517 {
01518 unsafe
01519 {
01520 fixed (ContextProperties* properties_ptr = &properties)
01521 fixed (IntPtr* devices_ptr = &devices)
01522 fixed (int* errcode_ret_ptr = &errcode_ret)
01523 {
01524 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01525 try
01526 {
01527 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01528 errcode_ret = *errcode_ret_ptr;
01529 return retval;
01530 }
01531 finally
01532 {
01533 user_data_ptr.Free();
01534 }
01535 }
01536 }
01537 }
01538
01539 [System.CLSCompliant(false)]
01540 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01541 public static
01542 IntPtr CreateContext<T4>(ref ContextProperties properties, uint num_devices, ref IntPtr devices, IntPtr pfn_notify, [InAttribute, OutAttribute] T4[] user_data, [OutAttribute] out int errcode_ret)
01543 where T4 : struct
01544 {
01545 unsafe
01546 {
01547 fixed (ContextProperties* properties_ptr = &properties)
01548 fixed (IntPtr* devices_ptr = &devices)
01549 fixed (int* errcode_ret_ptr = &errcode_ret)
01550 {
01551 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01552 try
01553 {
01554 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01555 errcode_ret = *errcode_ret_ptr;
01556 return retval;
01557 }
01558 finally
01559 {
01560 user_data_ptr.Free();
01561 }
01562 }
01563 }
01564 }
01565
01566 [System.CLSCompliant(false)]
01567 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContext")]
01568 public static
01569 IntPtr CreateContext(ref ContextProperties properties, uint num_devices, ref IntPtr devices, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] out int errcode_ret)
01570 {
01571 unsafe
01572 {
01573 fixed (ContextProperties* properties_ptr = &properties)
01574 fixed (IntPtr* devices_ptr = &devices)
01575 fixed (int* errcode_ret_ptr = &errcode_ret)
01576 {
01577 IntPtr retval = Delegates.clCreateContext((ContextProperties*)properties_ptr, (uint)num_devices, (IntPtr*)devices_ptr, (IntPtr)pfn_notify, (IntPtr)user_data, (int*)errcode_ret_ptr);
01578 errcode_ret = *errcode_ret_ptr;
01579 return retval;
01580 }
01581 }
01582 }
01583
01584 [System.CLSCompliant(false)]
01585 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01586 public static
01587 unsafe IntPtr CreateContextFromType<T3>(ContextProperties* properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T3 user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
01588 where T3 : struct
01589 {
01590 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01591 try
01592 {
01593 IntPtr retval = Delegates.clCreateContextFromType((ContextProperties*)properties, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
01594 user_data = (T3)user_data_ptr.Target;
01595 return retval;
01596 }
01597 finally
01598 {
01599 user_data_ptr.Free();
01600 }
01601 }
01602
01603 [System.CLSCompliant(false)]
01604 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01605 public static
01606 unsafe IntPtr CreateContextFromType<T3>(ContextProperties* properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[,,] user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
01607 where T3 : struct
01608 {
01609 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01610 try
01611 {
01612 return Delegates.clCreateContextFromType((ContextProperties*)properties, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
01613 }
01614 finally
01615 {
01616 user_data_ptr.Free();
01617 }
01618 }
01619
01620 [System.CLSCompliant(false)]
01621 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01622 public static
01623 unsafe IntPtr CreateContextFromType<T3>(ContextProperties* properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[,] user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
01624 where T3 : struct
01625 {
01626 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01627 try
01628 {
01629 return Delegates.clCreateContextFromType((ContextProperties*)properties, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
01630 }
01631 finally
01632 {
01633 user_data_ptr.Free();
01634 }
01635 }
01636
01637 [System.CLSCompliant(false)]
01638 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01639 public static
01640 unsafe IntPtr CreateContextFromType<T3>(ContextProperties* properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[] user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
01641 where T3 : struct
01642 {
01643 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01644 try
01645 {
01646 return Delegates.clCreateContextFromType((ContextProperties*)properties, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
01647 }
01648 finally
01649 {
01650 user_data_ptr.Free();
01651 }
01652 }
01653
01654 [System.CLSCompliant(false)]
01655 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01656 public static
01657 unsafe IntPtr CreateContextFromType(ContextProperties* properties, DeviceTypeFlags device_type, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
01658 {
01659 return Delegates.clCreateContextFromType((ContextProperties*)properties, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
01660 }
01661
01662 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01663 public static
01664 IntPtr CreateContextFromType<T3>(ContextProperties[] properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T3 user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
01665 where T3 : struct
01666 {
01667 unsafe
01668 {
01669 fixed (ContextProperties* properties_ptr = properties)
01670 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
01671 {
01672 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01673 try
01674 {
01675 IntPtr retval = Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01676 user_data = (T3)user_data_ptr.Target;
01677 return retval;
01678 }
01679 finally
01680 {
01681 user_data_ptr.Free();
01682 }
01683 }
01684 }
01685 }
01686
01687 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01688 public static
01689 IntPtr CreateContextFromType<T3>(ContextProperties[] properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[,,] user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
01690 where T3 : struct
01691 {
01692 unsafe
01693 {
01694 fixed (ContextProperties* properties_ptr = properties)
01695 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
01696 {
01697 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01698 try
01699 {
01700 return Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01701 }
01702 finally
01703 {
01704 user_data_ptr.Free();
01705 }
01706 }
01707 }
01708 }
01709
01710 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01711 public static
01712 IntPtr CreateContextFromType<T3>(ContextProperties[] properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[,] user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
01713 where T3 : struct
01714 {
01715 unsafe
01716 {
01717 fixed (ContextProperties* properties_ptr = properties)
01718 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
01719 {
01720 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01721 try
01722 {
01723 return Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01724 }
01725 finally
01726 {
01727 user_data_ptr.Free();
01728 }
01729 }
01730 }
01731 }
01732
01733 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01734 public static
01735 IntPtr CreateContextFromType<T3>(ContextProperties[] properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[] user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
01736 where T3 : struct
01737 {
01738 unsafe
01739 {
01740 fixed (ContextProperties* properties_ptr = properties)
01741 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
01742 {
01743 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01744 try
01745 {
01746 return Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01747 }
01748 finally
01749 {
01750 user_data_ptr.Free();
01751 }
01752 }
01753 }
01754 }
01755
01756 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01757 public static
01758 IntPtr CreateContextFromType(ContextProperties[] properties, DeviceTypeFlags device_type, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
01759 {
01760 unsafe
01761 {
01762 fixed (ContextProperties* properties_ptr = properties)
01763 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
01764 {
01765 return Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01766 }
01767 }
01768 }
01769
01770 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01771 public static
01772 IntPtr CreateContextFromType<T3>(ref ContextProperties properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] ref T3 user_data, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
01773 where T3 : struct
01774 {
01775 unsafe
01776 {
01777 fixed (ContextProperties* properties_ptr = &properties)
01778 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
01779 {
01780 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01781 try
01782 {
01783 IntPtr retval = Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01784 user_data = (T3)user_data_ptr.Target;
01785 errcode_ret = *errcode_ret_ptr;
01786 return retval;
01787 }
01788 finally
01789 {
01790 user_data_ptr.Free();
01791 }
01792 }
01793 }
01794 }
01795
01796 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01797 public static
01798 IntPtr CreateContextFromType<T3>(ref ContextProperties properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[,,] user_data, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
01799 where T3 : struct
01800 {
01801 unsafe
01802 {
01803 fixed (ContextProperties* properties_ptr = &properties)
01804 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
01805 {
01806 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01807 try
01808 {
01809 IntPtr retval = Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01810 errcode_ret = *errcode_ret_ptr;
01811 return retval;
01812 }
01813 finally
01814 {
01815 user_data_ptr.Free();
01816 }
01817 }
01818 }
01819 }
01820
01821 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01822 public static
01823 IntPtr CreateContextFromType<T3>(ref ContextProperties properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[,] user_data, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
01824 where T3 : struct
01825 {
01826 unsafe
01827 {
01828 fixed (ContextProperties* properties_ptr = &properties)
01829 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
01830 {
01831 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01832 try
01833 {
01834 IntPtr retval = Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01835 errcode_ret = *errcode_ret_ptr;
01836 return retval;
01837 }
01838 finally
01839 {
01840 user_data_ptr.Free();
01841 }
01842 }
01843 }
01844 }
01845
01846 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01847 public static
01848 IntPtr CreateContextFromType<T3>(ref ContextProperties properties, DeviceTypeFlags device_type, IntPtr pfn_notify, [InAttribute, OutAttribute] T3[] user_data, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
01849 where T3 : struct
01850 {
01851 unsafe
01852 {
01853 fixed (ContextProperties* properties_ptr = &properties)
01854 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
01855 {
01856 GCHandle user_data_ptr = GCHandle.Alloc(user_data, GCHandleType.Pinned);
01857 try
01858 {
01859 IntPtr retval = Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data_ptr.AddrOfPinnedObject(), (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01860 errcode_ret = *errcode_ret_ptr;
01861 return retval;
01862 }
01863 finally
01864 {
01865 user_data_ptr.Free();
01866 }
01867 }
01868 }
01869 }
01870
01871 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateContextFromType")]
01872 public static
01873 IntPtr CreateContextFromType(ref ContextProperties properties, DeviceTypeFlags device_type, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
01874 {
01875 unsafe
01876 {
01877 fixed (ContextProperties* properties_ptr = &properties)
01878 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
01879 {
01880 IntPtr retval = Delegates.clCreateContextFromType((ContextProperties*)properties_ptr, (DeviceTypeFlags)device_type, (IntPtr)pfn_notify, (IntPtr)user_data, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
01881 errcode_ret = *errcode_ret_ptr;
01882 return retval;
01883 }
01884 }
01885 }
01886
01887 [System.CLSCompliant(false)]
01888 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
01889 public static
01890 unsafe IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] ref T6 host_ptr, [OutAttribute] int* errcode_ret)
01891 where T6 : struct
01892 {
01893 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
01894 try
01895 {
01896 IntPtr retval = Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01897 host_ptr = (T6)host_ptr_ptr.Target;
01898 return retval;
01899 }
01900 finally
01901 {
01902 host_ptr_ptr.Free();
01903 }
01904 }
01905
01906 [System.CLSCompliant(false)]
01907 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
01908 public static
01909 unsafe IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[,,] host_ptr, [OutAttribute] int* errcode_ret)
01910 where T6 : struct
01911 {
01912 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
01913 try
01914 {
01915 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01916 }
01917 finally
01918 {
01919 host_ptr_ptr.Free();
01920 }
01921 }
01922
01923 [System.CLSCompliant(false)]
01924 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
01925 public static
01926 unsafe IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[,] host_ptr, [OutAttribute] int* errcode_ret)
01927 where T6 : struct
01928 {
01929 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
01930 try
01931 {
01932 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01933 }
01934 finally
01935 {
01936 host_ptr_ptr.Free();
01937 }
01938 }
01939
01940 [System.CLSCompliant(false)]
01941 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
01942 public static
01943 unsafe IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[] host_ptr, [OutAttribute] int* errcode_ret)
01944 where T6 : struct
01945 {
01946 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
01947 try
01948 {
01949 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
01950 }
01951 finally
01952 {
01953 host_ptr_ptr.Free();
01954 }
01955 }
01956
01957 [System.CLSCompliant(false)]
01958 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
01959 public static
01960 unsafe IntPtr CreateImage2D(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, IntPtr host_ptr, [OutAttribute] int* errcode_ret)
01961 {
01962 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr, (int*)errcode_ret);
01963 }
01964
01965 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
01966 public static
01967 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] ref T6 host_ptr, [OutAttribute] int[] errcode_ret)
01968 where T6 : struct
01969 {
01970 unsafe
01971 {
01972 fixed (ImageFormat* image_format_ptr = image_format)
01973 fixed (int* errcode_ret_ptr = errcode_ret)
01974 {
01975 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
01976 try
01977 {
01978 IntPtr retval = Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
01979 host_ptr = (T6)host_ptr_ptr.Target;
01980 return retval;
01981 }
01982 finally
01983 {
01984 host_ptr_ptr.Free();
01985 }
01986 }
01987 }
01988 }
01989
01990 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
01991 public static
01992 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[,,] host_ptr, [OutAttribute] int[] errcode_ret)
01993 where T6 : struct
01994 {
01995 unsafe
01996 {
01997 fixed (ImageFormat* image_format_ptr = image_format)
01998 fixed (int* errcode_ret_ptr = errcode_ret)
01999 {
02000 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02001 try
02002 {
02003 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02004 }
02005 finally
02006 {
02007 host_ptr_ptr.Free();
02008 }
02009 }
02010 }
02011 }
02012
02013 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02014 public static
02015 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[,] host_ptr, [OutAttribute] int[] errcode_ret)
02016 where T6 : struct
02017 {
02018 unsafe
02019 {
02020 fixed (ImageFormat* image_format_ptr = image_format)
02021 fixed (int* errcode_ret_ptr = errcode_ret)
02022 {
02023 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02024 try
02025 {
02026 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02027 }
02028 finally
02029 {
02030 host_ptr_ptr.Free();
02031 }
02032 }
02033 }
02034 }
02035
02036 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02037 public static
02038 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[] host_ptr, [OutAttribute] int[] errcode_ret)
02039 where T6 : struct
02040 {
02041 unsafe
02042 {
02043 fixed (ImageFormat* image_format_ptr = image_format)
02044 fixed (int* errcode_ret_ptr = errcode_ret)
02045 {
02046 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02047 try
02048 {
02049 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02050 }
02051 finally
02052 {
02053 host_ptr_ptr.Free();
02054 }
02055 }
02056 }
02057 }
02058
02059 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02060 public static
02061 IntPtr CreateImage2D(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, IntPtr host_ptr, [OutAttribute] int[] errcode_ret)
02062 {
02063 unsafe
02064 {
02065 fixed (ImageFormat* image_format_ptr = image_format)
02066 fixed (int* errcode_ret_ptr = errcode_ret)
02067 {
02068 return Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr, (int*)errcode_ret_ptr);
02069 }
02070 }
02071 }
02072
02073 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02074 public static
02075 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] ref T6 host_ptr, [OutAttribute] out int errcode_ret)
02076 where T6 : struct
02077 {
02078 unsafe
02079 {
02080 fixed (ImageFormat* image_format_ptr = &image_format)
02081 fixed (int* errcode_ret_ptr = &errcode_ret)
02082 {
02083 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02084 try
02085 {
02086 IntPtr retval = Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02087 host_ptr = (T6)host_ptr_ptr.Target;
02088 errcode_ret = *errcode_ret_ptr;
02089 return retval;
02090 }
02091 finally
02092 {
02093 host_ptr_ptr.Free();
02094 }
02095 }
02096 }
02097 }
02098
02099 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02100 public static
02101 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[,,] host_ptr, [OutAttribute] out int errcode_ret)
02102 where T6 : struct
02103 {
02104 unsafe
02105 {
02106 fixed (ImageFormat* image_format_ptr = &image_format)
02107 fixed (int* errcode_ret_ptr = &errcode_ret)
02108 {
02109 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02110 try
02111 {
02112 IntPtr retval = Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02113 errcode_ret = *errcode_ret_ptr;
02114 return retval;
02115 }
02116 finally
02117 {
02118 host_ptr_ptr.Free();
02119 }
02120 }
02121 }
02122 }
02123
02124 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02125 public static
02126 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[,] host_ptr, [OutAttribute] out int errcode_ret)
02127 where T6 : struct
02128 {
02129 unsafe
02130 {
02131 fixed (ImageFormat* image_format_ptr = &image_format)
02132 fixed (int* errcode_ret_ptr = &errcode_ret)
02133 {
02134 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02135 try
02136 {
02137 IntPtr retval = Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02138 errcode_ret = *errcode_ret_ptr;
02139 return retval;
02140 }
02141 finally
02142 {
02143 host_ptr_ptr.Free();
02144 }
02145 }
02146 }
02147 }
02148
02149 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02150 public static
02151 IntPtr CreateImage2D<T6>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, [InAttribute, OutAttribute] T6[] host_ptr, [OutAttribute] out int errcode_ret)
02152 where T6 : struct
02153 {
02154 unsafe
02155 {
02156 fixed (ImageFormat* image_format_ptr = &image_format)
02157 fixed (int* errcode_ret_ptr = &errcode_ret)
02158 {
02159 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02160 try
02161 {
02162 IntPtr retval = Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02163 errcode_ret = *errcode_ret_ptr;
02164 return retval;
02165 }
02166 finally
02167 {
02168 host_ptr_ptr.Free();
02169 }
02170 }
02171 }
02172 }
02173
02174 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage2D")]
02175 public static
02176 IntPtr CreateImage2D(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, IntPtr host_ptr, [OutAttribute] out int errcode_ret)
02177 {
02178 unsafe
02179 {
02180 fixed (ImageFormat* image_format_ptr = &image_format)
02181 fixed (int* errcode_ret_ptr = &errcode_ret)
02182 {
02183 IntPtr retval = Delegates.clCreateImage2D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_row_pitch, (IntPtr)host_ptr, (int*)errcode_ret_ptr);
02184 errcode_ret = *errcode_ret_ptr;
02185 return retval;
02186 }
02187 }
02188 }
02189
02190 [System.CLSCompliant(false)]
02191 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02192 public static
02193 unsafe IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] ref T8 host_ptr, [OutAttribute] int* errcode_ret)
02194 where T8 : struct
02195 {
02196 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02197 try
02198 {
02199 IntPtr retval = Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
02200 host_ptr = (T8)host_ptr_ptr.Target;
02201 return retval;
02202 }
02203 finally
02204 {
02205 host_ptr_ptr.Free();
02206 }
02207 }
02208
02209 [System.CLSCompliant(false)]
02210 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02211 public static
02212 unsafe IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[,,] host_ptr, [OutAttribute] int* errcode_ret)
02213 where T8 : struct
02214 {
02215 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02216 try
02217 {
02218 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
02219 }
02220 finally
02221 {
02222 host_ptr_ptr.Free();
02223 }
02224 }
02225
02226 [System.CLSCompliant(false)]
02227 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02228 public static
02229 unsafe IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[,] host_ptr, [OutAttribute] int* errcode_ret)
02230 where T8 : struct
02231 {
02232 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02233 try
02234 {
02235 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
02236 }
02237 finally
02238 {
02239 host_ptr_ptr.Free();
02240 }
02241 }
02242
02243 [System.CLSCompliant(false)]
02244 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02245 public static
02246 unsafe IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[] host_ptr, [OutAttribute] int* errcode_ret)
02247 where T8 : struct
02248 {
02249 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02250 try
02251 {
02252 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret);
02253 }
02254 finally
02255 {
02256 host_ptr_ptr.Free();
02257 }
02258 }
02259
02260 [System.CLSCompliant(false)]
02261 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02262 public static
02263 unsafe IntPtr CreateImage3D(IntPtr context, MemFlags flags, ImageFormat* image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, IntPtr host_ptr, [OutAttribute] int* errcode_ret)
02264 {
02265 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr, (int*)errcode_ret);
02266 }
02267
02268 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02269 public static
02270 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] ref T8 host_ptr, [OutAttribute] int[] errcode_ret)
02271 where T8 : struct
02272 {
02273 unsafe
02274 {
02275 fixed (ImageFormat* image_format_ptr = image_format)
02276 fixed (int* errcode_ret_ptr = errcode_ret)
02277 {
02278 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02279 try
02280 {
02281 IntPtr retval = Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02282 host_ptr = (T8)host_ptr_ptr.Target;
02283 return retval;
02284 }
02285 finally
02286 {
02287 host_ptr_ptr.Free();
02288 }
02289 }
02290 }
02291 }
02292
02293 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02294 public static
02295 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[,,] host_ptr, [OutAttribute] int[] errcode_ret)
02296 where T8 : struct
02297 {
02298 unsafe
02299 {
02300 fixed (ImageFormat* image_format_ptr = image_format)
02301 fixed (int* errcode_ret_ptr = errcode_ret)
02302 {
02303 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02304 try
02305 {
02306 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02307 }
02308 finally
02309 {
02310 host_ptr_ptr.Free();
02311 }
02312 }
02313 }
02314 }
02315
02316 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02317 public static
02318 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[,] host_ptr, [OutAttribute] int[] errcode_ret)
02319 where T8 : struct
02320 {
02321 unsafe
02322 {
02323 fixed (ImageFormat* image_format_ptr = image_format)
02324 fixed (int* errcode_ret_ptr = errcode_ret)
02325 {
02326 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02327 try
02328 {
02329 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02330 }
02331 finally
02332 {
02333 host_ptr_ptr.Free();
02334 }
02335 }
02336 }
02337 }
02338
02339 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02340 public static
02341 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[] host_ptr, [OutAttribute] int[] errcode_ret)
02342 where T8 : struct
02343 {
02344 unsafe
02345 {
02346 fixed (ImageFormat* image_format_ptr = image_format)
02347 fixed (int* errcode_ret_ptr = errcode_ret)
02348 {
02349 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02350 try
02351 {
02352 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02353 }
02354 finally
02355 {
02356 host_ptr_ptr.Free();
02357 }
02358 }
02359 }
02360 }
02361
02362 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02363 public static
02364 IntPtr CreateImage3D(IntPtr context, MemFlags flags, ImageFormat[] image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, IntPtr host_ptr, [OutAttribute] int[] errcode_ret)
02365 {
02366 unsafe
02367 {
02368 fixed (ImageFormat* image_format_ptr = image_format)
02369 fixed (int* errcode_ret_ptr = errcode_ret)
02370 {
02371 return Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr, (int*)errcode_ret_ptr);
02372 }
02373 }
02374 }
02375
02376 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02377 public static
02378 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] ref T8 host_ptr, [OutAttribute] out int errcode_ret)
02379 where T8 : struct
02380 {
02381 unsafe
02382 {
02383 fixed (ImageFormat* image_format_ptr = &image_format)
02384 fixed (int* errcode_ret_ptr = &errcode_ret)
02385 {
02386 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02387 try
02388 {
02389 IntPtr retval = Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02390 host_ptr = (T8)host_ptr_ptr.Target;
02391 errcode_ret = *errcode_ret_ptr;
02392 return retval;
02393 }
02394 finally
02395 {
02396 host_ptr_ptr.Free();
02397 }
02398 }
02399 }
02400 }
02401
02402 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02403 public static
02404 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[,,] host_ptr, [OutAttribute] out int errcode_ret)
02405 where T8 : struct
02406 {
02407 unsafe
02408 {
02409 fixed (ImageFormat* image_format_ptr = &image_format)
02410 fixed (int* errcode_ret_ptr = &errcode_ret)
02411 {
02412 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02413 try
02414 {
02415 IntPtr retval = Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02416 errcode_ret = *errcode_ret_ptr;
02417 return retval;
02418 }
02419 finally
02420 {
02421 host_ptr_ptr.Free();
02422 }
02423 }
02424 }
02425 }
02426
02427 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02428 public static
02429 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[,] host_ptr, [OutAttribute] out int errcode_ret)
02430 where T8 : struct
02431 {
02432 unsafe
02433 {
02434 fixed (ImageFormat* image_format_ptr = &image_format)
02435 fixed (int* errcode_ret_ptr = &errcode_ret)
02436 {
02437 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02438 try
02439 {
02440 IntPtr retval = Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02441 errcode_ret = *errcode_ret_ptr;
02442 return retval;
02443 }
02444 finally
02445 {
02446 host_ptr_ptr.Free();
02447 }
02448 }
02449 }
02450 }
02451
02452 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02453 public static
02454 IntPtr CreateImage3D<T8>(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, [InAttribute, OutAttribute] T8[] host_ptr, [OutAttribute] out int errcode_ret)
02455 where T8 : struct
02456 {
02457 unsafe
02458 {
02459 fixed (ImageFormat* image_format_ptr = &image_format)
02460 fixed (int* errcode_ret_ptr = &errcode_ret)
02461 {
02462 GCHandle host_ptr_ptr = GCHandle.Alloc(host_ptr, GCHandleType.Pinned);
02463 try
02464 {
02465 IntPtr retval = Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr_ptr.AddrOfPinnedObject(), (int*)errcode_ret_ptr);
02466 errcode_ret = *errcode_ret_ptr;
02467 return retval;
02468 }
02469 finally
02470 {
02471 host_ptr_ptr.Free();
02472 }
02473 }
02474 }
02475 }
02476
02477 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateImage3D")]
02478 public static
02479 IntPtr CreateImage3D(IntPtr context, MemFlags flags, ref ImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, IntPtr host_ptr, [OutAttribute] out int errcode_ret)
02480 {
02481 unsafe
02482 {
02483 fixed (ImageFormat* image_format_ptr = &image_format)
02484 fixed (int* errcode_ret_ptr = &errcode_ret)
02485 {
02486 IntPtr retval = Delegates.clCreateImage3D((IntPtr)context, (MemFlags)flags, (ImageFormat*)image_format_ptr, (IntPtr)image_width, (IntPtr)image_height, (IntPtr)image_depth, (IntPtr)image_row_pitch, (IntPtr)image_slice_pitch, (IntPtr)host_ptr, (int*)errcode_ret_ptr);
02487 errcode_ret = *errcode_ret_ptr;
02488 return retval;
02489 }
02490 }
02491 }
02492
02493 [System.CLSCompliant(false)]
02494 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernel")]
02495 public static
02496 unsafe IntPtr CreateKernel(IntPtr program, String kernel_name, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
02497 {
02498 return Delegates.clCreateKernel((IntPtr)program, (String)kernel_name, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
02499 }
02500
02501 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernel")]
02502 public static
02503 IntPtr CreateKernel(IntPtr program, String kernel_name, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
02504 {
02505 unsafe
02506 {
02507 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
02508 {
02509 return Delegates.clCreateKernel((IntPtr)program, (String)kernel_name, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02510 }
02511 }
02512 }
02513
02514 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernel")]
02515 public static
02516 IntPtr CreateKernel(IntPtr program, String kernel_name, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
02517 {
02518 unsafe
02519 {
02520 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
02521 {
02522 IntPtr retval = Delegates.clCreateKernel((IntPtr)program, (String)kernel_name, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02523 errcode_ret = *errcode_ret_ptr;
02524 return retval;
02525 }
02526 }
02527 }
02528
02529 [System.CLSCompliant(false)]
02530 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernelsInProgram")]
02531 public static
02532 unsafe int CreateKernelsInProgram(IntPtr program, Int32 num_kernels, IntPtr* kernels, [OutAttribute] Int32* num_kernels_ret)
02533 {
02534 return Delegates.clCreateKernelsInProgram((IntPtr)program, (uint)num_kernels, (IntPtr*)kernels, (uint*)num_kernels_ret);
02535 }
02536
02537 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernelsInProgram")]
02538 public static
02539 int CreateKernelsInProgram(IntPtr program, Int32 num_kernels, IntPtr[] kernels, [OutAttribute] Int32[] num_kernels_ret)
02540 {
02541 unsafe
02542 {
02543 fixed (IntPtr* kernels_ptr = kernels)
02544 fixed (Int32* num_kernels_ret_ptr = num_kernels_ret)
02545 {
02546 return Delegates.clCreateKernelsInProgram((IntPtr)program, (uint)num_kernels, (IntPtr*)kernels_ptr, (uint*)num_kernels_ret_ptr);
02547 }
02548 }
02549 }
02550
02551 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernelsInProgram")]
02552 public static
02553 int CreateKernelsInProgram(IntPtr program, Int32 num_kernels, ref IntPtr kernels, [OutAttribute] out Int32 num_kernels_ret)
02554 {
02555 unsafe
02556 {
02557 fixed (IntPtr* kernels_ptr = &kernels)
02558 fixed (Int32* num_kernels_ret_ptr = &num_kernels_ret)
02559 {
02560 int retval = Delegates.clCreateKernelsInProgram((IntPtr)program, (uint)num_kernels, (IntPtr*)kernels_ptr, (uint*)num_kernels_ret_ptr);
02561 num_kernels_ret = *num_kernels_ret_ptr;
02562 return retval;
02563 }
02564 }
02565 }
02566
02567 [System.CLSCompliant(false)]
02568 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernelsInProgram")]
02569 public static
02570 unsafe int CreateKernelsInProgram(IntPtr program, uint num_kernels, IntPtr* kernels, [OutAttribute] uint* num_kernels_ret)
02571 {
02572 return Delegates.clCreateKernelsInProgram((IntPtr)program, (uint)num_kernels, (IntPtr*)kernels, (uint*)num_kernels_ret);
02573 }
02574
02575 [System.CLSCompliant(false)]
02576 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernelsInProgram")]
02577 public static
02578 int CreateKernelsInProgram(IntPtr program, uint num_kernels, IntPtr[] kernels, [OutAttribute] uint[] num_kernels_ret)
02579 {
02580 unsafe
02581 {
02582 fixed (IntPtr* kernels_ptr = kernels)
02583 fixed (uint* num_kernels_ret_ptr = num_kernels_ret)
02584 {
02585 return Delegates.clCreateKernelsInProgram((IntPtr)program, (uint)num_kernels, (IntPtr*)kernels_ptr, (uint*)num_kernels_ret_ptr);
02586 }
02587 }
02588 }
02589
02590 [System.CLSCompliant(false)]
02591 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateKernelsInProgram")]
02592 public static
02593 int CreateKernelsInProgram(IntPtr program, uint num_kernels, ref IntPtr kernels, [OutAttribute] out uint num_kernels_ret)
02594 {
02595 unsafe
02596 {
02597 fixed (IntPtr* kernels_ptr = &kernels)
02598 fixed (uint* num_kernels_ret_ptr = &num_kernels_ret)
02599 {
02600 int retval = Delegates.clCreateKernelsInProgram((IntPtr)program, (uint)num_kernels, (IntPtr*)kernels_ptr, (uint*)num_kernels_ret_ptr);
02601 num_kernels_ret = *num_kernels_ret_ptr;
02602 return retval;
02603 }
02604 }
02605 }
02606
02607 [System.CLSCompliant(false)]
02608 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithBinary")]
02609 public static
02610 unsafe IntPtr CreateProgramWithBinary(IntPtr context, Int32 num_devices, IntPtr* device_list, IntPtr* lengths, byte** binaries, int* binary_status, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
02611 {
02612 return Delegates.clCreateProgramWithBinary((IntPtr)context, (uint)num_devices, (IntPtr*)device_list, (IntPtr*)lengths, (byte**)binaries, (int*)binary_status, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
02613 }
02614
02615 [System.CLSCompliant(false)]
02616 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithBinary")]
02617 public static
02618 unsafe IntPtr CreateProgramWithBinary(IntPtr context, Int32 num_devices, IntPtr[] device_list, IntPtr[] lengths, byte*[] binaries, int[] binary_status, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
02619 {
02620 fixed (IntPtr* device_list_ptr = device_list)
02621 fixed (IntPtr* lengths_ptr = lengths)
02622 fixed (byte** binaries_ptr = binaries)
02623 fixed (int* binary_status_ptr = binary_status)
02624 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
02625 {
02626 return Delegates.clCreateProgramWithBinary((IntPtr)context, (uint)num_devices, (IntPtr*)device_list_ptr, (IntPtr*)lengths_ptr, (byte**)binaries_ptr, (int*)binary_status_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02627 }
02628 }
02629
02630 [System.CLSCompliant(false)]
02631 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithBinary")]
02632 public static
02633 unsafe IntPtr CreateProgramWithBinary(IntPtr context, Int32 num_devices, ref IntPtr device_list, ref IntPtr lengths, ref byte* binaries, ref int binary_status, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
02634 {
02635 fixed (IntPtr* device_list_ptr = &device_list)
02636 fixed (IntPtr* lengths_ptr = &lengths)
02637 fixed (byte** binaries_ptr = &binaries)
02638 fixed (int* binary_status_ptr = &binary_status)
02639 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
02640 {
02641 IntPtr retval = Delegates.clCreateProgramWithBinary((IntPtr)context, (uint)num_devices, (IntPtr*)device_list_ptr, (IntPtr*)lengths_ptr, (byte**)binaries_ptr, (int*)binary_status_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02642 errcode_ret = *errcode_ret_ptr;
02643 return retval;
02644 }
02645 }
02646
02647 [System.CLSCompliant(false)]
02648 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithBinary")]
02649 public static
02650 unsafe IntPtr CreateProgramWithBinary(IntPtr context, uint num_devices, IntPtr* device_list, IntPtr* lengths, byte** binaries, int* binary_status, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
02651 {
02652 return Delegates.clCreateProgramWithBinary((IntPtr)context, (uint)num_devices, (IntPtr*)device_list, (IntPtr*)lengths, (byte**)binaries, (int*)binary_status, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
02653 }
02654
02655 [System.CLSCompliant(false)]
02656 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithBinary")]
02657 public static
02658 unsafe IntPtr CreateProgramWithBinary(IntPtr context, uint num_devices, IntPtr[] device_list, IntPtr[] lengths, byte*[] binaries, int[] binary_status, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
02659 {
02660 fixed (IntPtr* device_list_ptr = device_list)
02661 fixed (IntPtr* lengths_ptr = lengths)
02662 fixed (byte** binaries_ptr = binaries)
02663 fixed (int* binary_status_ptr = binary_status)
02664 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
02665 {
02666 return Delegates.clCreateProgramWithBinary((IntPtr)context, (uint)num_devices, (IntPtr*)device_list_ptr, (IntPtr*)lengths_ptr, (byte**)binaries_ptr, (int*)binary_status_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02667 }
02668 }
02669
02670 [System.CLSCompliant(false)]
02671 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithBinary")]
02672 public static
02673 unsafe IntPtr CreateProgramWithBinary(IntPtr context, uint num_devices, ref IntPtr device_list, ref IntPtr lengths, ref byte* binaries, ref int binary_status, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
02674 {
02675 fixed (IntPtr* device_list_ptr = &device_list)
02676 fixed (IntPtr* lengths_ptr = &lengths)
02677 fixed (byte** binaries_ptr = &binaries)
02678 fixed (int* binary_status_ptr = &binary_status)
02679 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
02680 {
02681 IntPtr retval = Delegates.clCreateProgramWithBinary((IntPtr)context, (uint)num_devices, (IntPtr*)device_list_ptr, (IntPtr*)lengths_ptr, (byte**)binaries_ptr, (int*)binary_status_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02682 errcode_ret = *errcode_ret_ptr;
02683 return retval;
02684 }
02685 }
02686
02687 [System.CLSCompliant(false)]
02688 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithSource")]
02689 public static
02690 unsafe IntPtr CreateProgramWithSource(IntPtr context, Int32 count, String[] strings, IntPtr* lengths, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
02691 {
02692 return Delegates.clCreateProgramWithSource((IntPtr)context, (uint)count, (String[])strings, (IntPtr*)lengths, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
02693 }
02694
02695 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithSource")]
02696 public static
02697 IntPtr CreateProgramWithSource(IntPtr context, Int32 count, String[] strings, IntPtr[] lengths, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
02698 {
02699 unsafe
02700 {
02701 fixed (IntPtr* lengths_ptr = lengths)
02702 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
02703 {
02704 return Delegates.clCreateProgramWithSource((IntPtr)context, (uint)count, (String[])strings, (IntPtr*)lengths_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02705 }
02706 }
02707 }
02708
02709 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithSource")]
02710 public static
02711 IntPtr CreateProgramWithSource(IntPtr context, Int32 count, String[] strings, ref IntPtr lengths, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
02712 {
02713 unsafe
02714 {
02715 fixed (IntPtr* lengths_ptr = &lengths)
02716 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
02717 {
02718 IntPtr retval = Delegates.clCreateProgramWithSource((IntPtr)context, (uint)count, (String[])strings, (IntPtr*)lengths_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02719 errcode_ret = *errcode_ret_ptr;
02720 return retval;
02721 }
02722 }
02723 }
02724
02725 [System.CLSCompliant(false)]
02726 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithSource")]
02727 public static
02728 unsafe IntPtr CreateProgramWithSource(IntPtr context, uint count, String[] strings, IntPtr* lengths, [OutAttribute] OpenTK.Compute.CL10.ErrorCode* errcode_ret)
02729 {
02730 return Delegates.clCreateProgramWithSource((IntPtr)context, (uint)count, (String[])strings, (IntPtr*)lengths, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret);
02731 }
02732
02733 [System.CLSCompliant(false)]
02734 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithSource")]
02735 public static
02736 IntPtr CreateProgramWithSource(IntPtr context, uint count, String[] strings, IntPtr[] lengths, [OutAttribute] OpenTK.Compute.CL10.ErrorCode[] errcode_ret)
02737 {
02738 unsafe
02739 {
02740 fixed (IntPtr* lengths_ptr = lengths)
02741 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = errcode_ret)
02742 {
02743 return Delegates.clCreateProgramWithSource((IntPtr)context, (uint)count, (String[])strings, (IntPtr*)lengths_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02744 }
02745 }
02746 }
02747
02748 [System.CLSCompliant(false)]
02749 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateProgramWithSource")]
02750 public static
02751 IntPtr CreateProgramWithSource(IntPtr context, uint count, String[] strings, ref IntPtr lengths, [OutAttribute] out OpenTK.Compute.CL10.ErrorCode errcode_ret)
02752 {
02753 unsafe
02754 {
02755 fixed (IntPtr* lengths_ptr = &lengths)
02756 fixed (OpenTK.Compute.CL10.ErrorCode* errcode_ret_ptr = &errcode_ret)
02757 {
02758 IntPtr retval = Delegates.clCreateProgramWithSource((IntPtr)context, (uint)count, (String[])strings, (IntPtr*)lengths_ptr, (OpenTK.Compute.CL10.ErrorCode*)errcode_ret_ptr);
02759 errcode_ret = *errcode_ret_ptr;
02760 return retval;
02761 }
02762 }
02763 }
02764
02765 [System.CLSCompliant(false)]
02766 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateSampler")]
02767 public static
02768 unsafe IntPtr CreateSampler(IntPtr context, bool normalized_coords, AddressingMode addressing_mode, FilterMode filter_mode, [OutAttribute] int* errcode_ret)
02769 {
02770 return Delegates.clCreateSampler((IntPtr)context, (bool)normalized_coords, (AddressingMode)addressing_mode, (FilterMode)filter_mode, (int*)errcode_ret);
02771 }
02772
02773 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateSampler")]
02774 public static
02775 IntPtr CreateSampler(IntPtr context, bool normalized_coords, AddressingMode addressing_mode, FilterMode filter_mode, [OutAttribute] int[] errcode_ret)
02776 {
02777 unsafe
02778 {
02779 fixed (int* errcode_ret_ptr = errcode_ret)
02780 {
02781 return Delegates.clCreateSampler((IntPtr)context, (bool)normalized_coords, (AddressingMode)addressing_mode, (FilterMode)filter_mode, (int*)errcode_ret_ptr);
02782 }
02783 }
02784 }
02785
02786 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clCreateSampler")]
02787 public static
02788 IntPtr CreateSampler(IntPtr context, bool normalized_coords, AddressingMode addressing_mode, FilterMode filter_mode, [OutAttribute] out int errcode_ret)
02789 {
02790 unsafe
02791 {
02792 fixed (int* errcode_ret_ptr = &errcode_ret)
02793 {
02794 IntPtr retval = Delegates.clCreateSampler((IntPtr)context, (bool)normalized_coords, (AddressingMode)addressing_mode, (FilterMode)filter_mode, (int*)errcode_ret_ptr);
02795 errcode_ret = *errcode_ret_ptr;
02796 return retval;
02797 }
02798 }
02799 }
02800
02801 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueBarrier")]
02802 public static
02803 int EnqueueBarrier(IntPtr command_queue)
02804 {
02805 return Delegates.clEnqueueBarrier((IntPtr)command_queue);
02806 }
02807
02808 [System.CLSCompliant(false)]
02809 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBuffer")]
02810 public static
02811 unsafe int EnqueueCopyBuffer(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
02812 {
02813 return Delegates.clEnqueueCopyBuffer((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_buffer, (IntPtr)src_offset, (IntPtr)dst_offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
02814 }
02815
02816 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBuffer")]
02817 public static
02818 int EnqueueCopyBuffer(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
02819 {
02820 unsafe
02821 {
02822 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
02823 fixed (IntPtr* @event_ptr = @event)
02824 {
02825 return Delegates.clEnqueueCopyBuffer((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_buffer, (IntPtr)src_offset, (IntPtr)dst_offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02826 }
02827 }
02828 }
02829
02830 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBuffer")]
02831 public static
02832 int EnqueueCopyBuffer(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
02833 {
02834 unsafe
02835 {
02836 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
02837 fixed (IntPtr* @event_ptr = &@event)
02838 {
02839 return Delegates.clEnqueueCopyBuffer((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_buffer, (IntPtr)src_offset, (IntPtr)dst_offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02840 }
02841 }
02842 }
02843
02844 [System.CLSCompliant(false)]
02845 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBuffer")]
02846 public static
02847 unsafe int EnqueueCopyBuffer(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
02848 {
02849 return Delegates.clEnqueueCopyBuffer((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_buffer, (IntPtr)src_offset, (IntPtr)dst_offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
02850 }
02851
02852 [System.CLSCompliant(false)]
02853 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBuffer")]
02854 public static
02855 int EnqueueCopyBuffer(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
02856 {
02857 unsafe
02858 {
02859 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
02860 fixed (IntPtr* @event_ptr = @event)
02861 {
02862 return Delegates.clEnqueueCopyBuffer((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_buffer, (IntPtr)src_offset, (IntPtr)dst_offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02863 }
02864 }
02865 }
02866
02867 [System.CLSCompliant(false)]
02868 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBuffer")]
02869 public static
02870 int EnqueueCopyBuffer(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
02871 {
02872 unsafe
02873 {
02874 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
02875 fixed (IntPtr* @event_ptr = &@event)
02876 {
02877 return Delegates.clEnqueueCopyBuffer((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_buffer, (IntPtr)src_offset, (IntPtr)dst_offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02878 }
02879 }
02880 }
02881
02882 [System.CLSCompliant(false)]
02883 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBufferToImage")]
02884 public static
02885 unsafe int EnqueueCopyBufferToImage(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_image, IntPtr src_offset, IntPtr** dst_origin, IntPtr** region, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
02886 {
02887 return Delegates.clEnqueueCopyBufferToImage((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_image, (IntPtr)src_offset, (IntPtr**)dst_origin, (IntPtr**)region, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
02888 }
02889
02890 [System.CLSCompliant(false)]
02891 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBufferToImage")]
02892 public static
02893 unsafe int EnqueueCopyBufferToImage(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_image, IntPtr src_offset, IntPtr** dst_origin, IntPtr** region, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
02894 {
02895 return Delegates.clEnqueueCopyBufferToImage((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_image, (IntPtr)src_offset, (IntPtr**)dst_origin, (IntPtr**)region, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
02896 }
02897
02898 [System.CLSCompliant(false)]
02899 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBufferToImage")]
02900 public static
02901 unsafe int EnqueueCopyBufferToImage(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_image, IntPtr src_offset, IntPtr*[] dst_origin, IntPtr*[] region, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
02902 {
02903 fixed (IntPtr** dst_origin_ptr = dst_origin)
02904 fixed (IntPtr** region_ptr = region)
02905 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
02906 fixed (IntPtr* @event_ptr = @event)
02907 {
02908 return Delegates.clEnqueueCopyBufferToImage((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_image, (IntPtr)src_offset, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02909 }
02910 }
02911
02912 [System.CLSCompliant(false)]
02913 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBufferToImage")]
02914 public static
02915 unsafe int EnqueueCopyBufferToImage(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_image, IntPtr src_offset, IntPtr*[] dst_origin, IntPtr*[] region, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
02916 {
02917 fixed (IntPtr** dst_origin_ptr = dst_origin)
02918 fixed (IntPtr** region_ptr = region)
02919 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
02920 fixed (IntPtr* @event_ptr = @event)
02921 {
02922 return Delegates.clEnqueueCopyBufferToImage((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_image, (IntPtr)src_offset, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02923 }
02924 }
02925
02926 [System.CLSCompliant(false)]
02927 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBufferToImage")]
02928 public static
02929 unsafe int EnqueueCopyBufferToImage(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_image, IntPtr src_offset, ref IntPtr* dst_origin, ref IntPtr* region, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
02930 {
02931 fixed (IntPtr** dst_origin_ptr = &dst_origin)
02932 fixed (IntPtr** region_ptr = ®ion)
02933 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
02934 fixed (IntPtr* @event_ptr = &@event)
02935 {
02936 return Delegates.clEnqueueCopyBufferToImage((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_image, (IntPtr)src_offset, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02937 }
02938 }
02939
02940 [System.CLSCompliant(false)]
02941 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyBufferToImage")]
02942 public static
02943 unsafe int EnqueueCopyBufferToImage(IntPtr command_queue, IntPtr src_buffer, IntPtr dst_image, IntPtr src_offset, ref IntPtr* dst_origin, ref IntPtr* region, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
02944 {
02945 fixed (IntPtr** dst_origin_ptr = &dst_origin)
02946 fixed (IntPtr** region_ptr = ®ion)
02947 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
02948 fixed (IntPtr* @event_ptr = &@event)
02949 {
02950 return Delegates.clEnqueueCopyBufferToImage((IntPtr)command_queue, (IntPtr)src_buffer, (IntPtr)dst_image, (IntPtr)src_offset, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02951 }
02952 }
02953
02954 [System.CLSCompliant(false)]
02955 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImage")]
02956 public static
02957 unsafe int EnqueueCopyImage(IntPtr command_queue, IntPtr src_image, IntPtr dst_image, IntPtr** src_origin, IntPtr** dst_origin, IntPtr** region, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
02958 {
02959 return Delegates.clEnqueueCopyImage((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_image, (IntPtr**)src_origin, (IntPtr**)dst_origin, (IntPtr**)region, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
02960 }
02961
02962 [System.CLSCompliant(false)]
02963 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImage")]
02964 public static
02965 unsafe int EnqueueCopyImage(IntPtr command_queue, IntPtr src_image, IntPtr dst_image, IntPtr** src_origin, IntPtr** dst_origin, IntPtr** region, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
02966 {
02967 return Delegates.clEnqueueCopyImage((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_image, (IntPtr**)src_origin, (IntPtr**)dst_origin, (IntPtr**)region, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
02968 }
02969
02970 [System.CLSCompliant(false)]
02971 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImage")]
02972 public static
02973 unsafe int EnqueueCopyImage(IntPtr command_queue, IntPtr src_image, IntPtr dst_image, IntPtr*[] src_origin, IntPtr*[] dst_origin, IntPtr*[] region, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
02974 {
02975 fixed (IntPtr** src_origin_ptr = src_origin)
02976 fixed (IntPtr** dst_origin_ptr = dst_origin)
02977 fixed (IntPtr** region_ptr = region)
02978 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
02979 fixed (IntPtr* @event_ptr = @event)
02980 {
02981 return Delegates.clEnqueueCopyImage((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_image, (IntPtr**)src_origin_ptr, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02982 }
02983 }
02984
02985 [System.CLSCompliant(false)]
02986 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImage")]
02987 public static
02988 unsafe int EnqueueCopyImage(IntPtr command_queue, IntPtr src_image, IntPtr dst_image, IntPtr*[] src_origin, IntPtr*[] dst_origin, IntPtr*[] region, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
02989 {
02990 fixed (IntPtr** src_origin_ptr = src_origin)
02991 fixed (IntPtr** dst_origin_ptr = dst_origin)
02992 fixed (IntPtr** region_ptr = region)
02993 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
02994 fixed (IntPtr* @event_ptr = @event)
02995 {
02996 return Delegates.clEnqueueCopyImage((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_image, (IntPtr**)src_origin_ptr, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
02997 }
02998 }
02999
03000 [System.CLSCompliant(false)]
03001 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImage")]
03002 public static
03003 unsafe int EnqueueCopyImage(IntPtr command_queue, IntPtr src_image, IntPtr dst_image, ref IntPtr* src_origin, ref IntPtr* dst_origin, ref IntPtr* region, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03004 {
03005 fixed (IntPtr** src_origin_ptr = &src_origin)
03006 fixed (IntPtr** dst_origin_ptr = &dst_origin)
03007 fixed (IntPtr** region_ptr = ®ion)
03008 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03009 fixed (IntPtr* @event_ptr = &@event)
03010 {
03011 return Delegates.clEnqueueCopyImage((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_image, (IntPtr**)src_origin_ptr, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03012 }
03013 }
03014
03015 [System.CLSCompliant(false)]
03016 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImage")]
03017 public static
03018 unsafe int EnqueueCopyImage(IntPtr command_queue, IntPtr src_image, IntPtr dst_image, ref IntPtr* src_origin, ref IntPtr* dst_origin, ref IntPtr* region, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03019 {
03020 fixed (IntPtr** src_origin_ptr = &src_origin)
03021 fixed (IntPtr** dst_origin_ptr = &dst_origin)
03022 fixed (IntPtr** region_ptr = ®ion)
03023 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03024 fixed (IntPtr* @event_ptr = &@event)
03025 {
03026 return Delegates.clEnqueueCopyImage((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_image, (IntPtr**)src_origin_ptr, (IntPtr**)dst_origin_ptr, (IntPtr**)region_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03027 }
03028 }
03029
03030 [System.CLSCompliant(false)]
03031 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImageToBuffer")]
03032 public static
03033 unsafe int EnqueueCopyImageToBuffer(IntPtr command_queue, IntPtr src_image, IntPtr dst_buffer, IntPtr** src_origin, IntPtr** region, IntPtr dst_offset, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03034 {
03035 return Delegates.clEnqueueCopyImageToBuffer((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_buffer, (IntPtr**)src_origin, (IntPtr**)region, (IntPtr)dst_offset, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03036 }
03037
03038 [System.CLSCompliant(false)]
03039 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImageToBuffer")]
03040 public static
03041 unsafe int EnqueueCopyImageToBuffer(IntPtr command_queue, IntPtr src_image, IntPtr dst_buffer, IntPtr** src_origin, IntPtr** region, IntPtr dst_offset, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03042 {
03043 return Delegates.clEnqueueCopyImageToBuffer((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_buffer, (IntPtr**)src_origin, (IntPtr**)region, (IntPtr)dst_offset, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03044 }
03045
03046 [System.CLSCompliant(false)]
03047 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImageToBuffer")]
03048 public static
03049 unsafe int EnqueueCopyImageToBuffer(IntPtr command_queue, IntPtr src_image, IntPtr dst_buffer, IntPtr*[] src_origin, IntPtr*[] region, IntPtr dst_offset, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03050 {
03051 fixed (IntPtr** src_origin_ptr = src_origin)
03052 fixed (IntPtr** region_ptr = region)
03053 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03054 fixed (IntPtr* @event_ptr = @event)
03055 {
03056 return Delegates.clEnqueueCopyImageToBuffer((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_buffer, (IntPtr**)src_origin_ptr, (IntPtr**)region_ptr, (IntPtr)dst_offset, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03057 }
03058 }
03059
03060 [System.CLSCompliant(false)]
03061 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImageToBuffer")]
03062 public static
03063 unsafe int EnqueueCopyImageToBuffer(IntPtr command_queue, IntPtr src_image, IntPtr dst_buffer, IntPtr*[] src_origin, IntPtr*[] region, IntPtr dst_offset, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03064 {
03065 fixed (IntPtr** src_origin_ptr = src_origin)
03066 fixed (IntPtr** region_ptr = region)
03067 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03068 fixed (IntPtr* @event_ptr = @event)
03069 {
03070 return Delegates.clEnqueueCopyImageToBuffer((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_buffer, (IntPtr**)src_origin_ptr, (IntPtr**)region_ptr, (IntPtr)dst_offset, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03071 }
03072 }
03073
03074 [System.CLSCompliant(false)]
03075 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImageToBuffer")]
03076 public static
03077 unsafe int EnqueueCopyImageToBuffer(IntPtr command_queue, IntPtr src_image, IntPtr dst_buffer, ref IntPtr* src_origin, ref IntPtr* region, IntPtr dst_offset, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03078 {
03079 fixed (IntPtr** src_origin_ptr = &src_origin)
03080 fixed (IntPtr** region_ptr = ®ion)
03081 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03082 fixed (IntPtr* @event_ptr = &@event)
03083 {
03084 return Delegates.clEnqueueCopyImageToBuffer((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_buffer, (IntPtr**)src_origin_ptr, (IntPtr**)region_ptr, (IntPtr)dst_offset, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03085 }
03086 }
03087
03088 [System.CLSCompliant(false)]
03089 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueCopyImageToBuffer")]
03090 public static
03091 unsafe int EnqueueCopyImageToBuffer(IntPtr command_queue, IntPtr src_image, IntPtr dst_buffer, ref IntPtr* src_origin, ref IntPtr* region, IntPtr dst_offset, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03092 {
03093 fixed (IntPtr** src_origin_ptr = &src_origin)
03094 fixed (IntPtr** region_ptr = ®ion)
03095 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03096 fixed (IntPtr* @event_ptr = &@event)
03097 {
03098 return Delegates.clEnqueueCopyImageToBuffer((IntPtr)command_queue, (IntPtr)src_image, (IntPtr)dst_buffer, (IntPtr**)src_origin_ptr, (IntPtr**)region_ptr, (IntPtr)dst_offset, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03099 }
03100 }
03101
03102 [System.CLSCompliant(false)]
03103 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapBuffer")]
03104 public static
03105 unsafe System.IntPtr EnqueueMapBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_map, MapFlags map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event, [OutAttribute] int* errcode_ret)
03106 {
03107 return Delegates.clEnqueueMapBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_map, (MapFlags)map_flags, (IntPtr)offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event, (int*)errcode_ret);
03108 }
03109
03110 [System.CLSCompliant(false)]
03111 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapBuffer")]
03112 public static
03113 unsafe System.IntPtr EnqueueMapBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_map, MapFlags map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event, [OutAttribute] int[] errcode_ret)
03114 {
03115 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03116 fixed (IntPtr* @event_ptr = @event)
03117 fixed (int* errcode_ret_ptr = errcode_ret)
03118 {
03119 return Delegates.clEnqueueMapBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_map, (MapFlags)map_flags, (IntPtr)offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03120 }
03121 }
03122
03123 [System.CLSCompliant(false)]
03124 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapBuffer")]
03125 public static
03126 unsafe System.IntPtr EnqueueMapBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_map, MapFlags map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event, [OutAttribute] out int errcode_ret)
03127 {
03128 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03129 fixed (IntPtr* @event_ptr = &@event)
03130 fixed (int* errcode_ret_ptr = &errcode_ret)
03131 {
03132 System.IntPtr retval = Delegates.clEnqueueMapBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_map, (MapFlags)map_flags, (IntPtr)offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03133 errcode_ret = *errcode_ret_ptr;
03134 return retval;
03135 }
03136 }
03137
03138 [System.CLSCompliant(false)]
03139 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapBuffer")]
03140 public static
03141 unsafe System.IntPtr EnqueueMapBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_map, MapFlags map_flags, IntPtr offset, IntPtr cb, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event, [OutAttribute] int* errcode_ret)
03142 {
03143 return Delegates.clEnqueueMapBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_map, (MapFlags)map_flags, (IntPtr)offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event, (int*)errcode_ret);
03144 }
03145
03146 [System.CLSCompliant(false)]
03147 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapBuffer")]
03148 public static
03149 unsafe System.IntPtr EnqueueMapBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_map, MapFlags map_flags, IntPtr offset, IntPtr cb, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event, [OutAttribute] int[] errcode_ret)
03150 {
03151 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03152 fixed (IntPtr* @event_ptr = @event)
03153 fixed (int* errcode_ret_ptr = errcode_ret)
03154 {
03155 return Delegates.clEnqueueMapBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_map, (MapFlags)map_flags, (IntPtr)offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03156 }
03157 }
03158
03159 [System.CLSCompliant(false)]
03160 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapBuffer")]
03161 public static
03162 unsafe System.IntPtr EnqueueMapBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_map, MapFlags map_flags, IntPtr offset, IntPtr cb, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event, [OutAttribute] out int errcode_ret)
03163 {
03164 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03165 fixed (IntPtr* @event_ptr = &@event)
03166 fixed (int* errcode_ret_ptr = &errcode_ret)
03167 {
03168 System.IntPtr retval = Delegates.clEnqueueMapBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_map, (MapFlags)map_flags, (IntPtr)offset, (IntPtr)cb, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03169 errcode_ret = *errcode_ret_ptr;
03170 return retval;
03171 }
03172 }
03173
03174 [System.CLSCompliant(false)]
03175 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapImage")]
03176 public static
03177 unsafe System.IntPtr EnqueueMapImage(IntPtr command_queue, IntPtr image, bool blocking_map, MapFlags map_flags, IntPtr** origin, IntPtr** region, IntPtr* image_row_pitch, IntPtr* image_slice_pitch, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event, [OutAttribute] int* errcode_ret)
03178 {
03179 return Delegates.clEnqueueMapImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_map, (MapFlags)map_flags, (IntPtr**)origin, (IntPtr**)region, (IntPtr*)image_row_pitch, (IntPtr*)image_slice_pitch, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event, (int*)errcode_ret);
03180 }
03181
03182 [System.CLSCompliant(false)]
03183 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapImage")]
03184 public static
03185 unsafe System.IntPtr EnqueueMapImage(IntPtr command_queue, IntPtr image, bool blocking_map, MapFlags map_flags, IntPtr** origin, IntPtr** region, IntPtr* image_row_pitch, IntPtr* image_slice_pitch, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event, [OutAttribute] int* errcode_ret)
03186 {
03187 return Delegates.clEnqueueMapImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_map, (MapFlags)map_flags, (IntPtr**)origin, (IntPtr**)region, (IntPtr*)image_row_pitch, (IntPtr*)image_slice_pitch, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event, (int*)errcode_ret);
03188 }
03189
03190 [System.CLSCompliant(false)]
03191 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapImage")]
03192 public static
03193 unsafe System.IntPtr EnqueueMapImage(IntPtr command_queue, IntPtr image, bool blocking_map, MapFlags map_flags, IntPtr*[] origin, IntPtr*[] region, IntPtr[] image_row_pitch, IntPtr[] image_slice_pitch, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event, [OutAttribute] int[] errcode_ret)
03194 {
03195 fixed (IntPtr** origin_ptr = origin)
03196 fixed (IntPtr** region_ptr = region)
03197 fixed (IntPtr* image_row_pitch_ptr = image_row_pitch)
03198 fixed (IntPtr* image_slice_pitch_ptr = image_slice_pitch)
03199 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03200 fixed (IntPtr* @event_ptr = @event)
03201 fixed (int* errcode_ret_ptr = errcode_ret)
03202 {
03203 return Delegates.clEnqueueMapImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_map, (MapFlags)map_flags, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr*)image_row_pitch_ptr, (IntPtr*)image_slice_pitch_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03204 }
03205 }
03206
03207 [System.CLSCompliant(false)]
03208 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapImage")]
03209 public static
03210 unsafe System.IntPtr EnqueueMapImage(IntPtr command_queue, IntPtr image, bool blocking_map, MapFlags map_flags, IntPtr*[] origin, IntPtr*[] region, IntPtr[] image_row_pitch, IntPtr[] image_slice_pitch, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event, [OutAttribute] int[] errcode_ret)
03211 {
03212 fixed (IntPtr** origin_ptr = origin)
03213 fixed (IntPtr** region_ptr = region)
03214 fixed (IntPtr* image_row_pitch_ptr = image_row_pitch)
03215 fixed (IntPtr* image_slice_pitch_ptr = image_slice_pitch)
03216 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03217 fixed (IntPtr* @event_ptr = @event)
03218 fixed (int* errcode_ret_ptr = errcode_ret)
03219 {
03220 return Delegates.clEnqueueMapImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_map, (MapFlags)map_flags, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr*)image_row_pitch_ptr, (IntPtr*)image_slice_pitch_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03221 }
03222 }
03223
03224 [System.CLSCompliant(false)]
03225 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapImage")]
03226 public static
03227 unsafe System.IntPtr EnqueueMapImage(IntPtr command_queue, IntPtr image, bool blocking_map, MapFlags map_flags, ref IntPtr* origin, ref IntPtr* region, ref IntPtr image_row_pitch, ref IntPtr image_slice_pitch, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event, [OutAttribute] out int errcode_ret)
03228 {
03229 fixed (IntPtr** origin_ptr = &origin)
03230 fixed (IntPtr** region_ptr = ®ion)
03231 fixed (IntPtr* image_row_pitch_ptr = &image_row_pitch)
03232 fixed (IntPtr* image_slice_pitch_ptr = &image_slice_pitch)
03233 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03234 fixed (IntPtr* @event_ptr = &@event)
03235 fixed (int* errcode_ret_ptr = &errcode_ret)
03236 {
03237 System.IntPtr retval = Delegates.clEnqueueMapImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_map, (MapFlags)map_flags, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr*)image_row_pitch_ptr, (IntPtr*)image_slice_pitch_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03238 errcode_ret = *errcode_ret_ptr;
03239 return retval;
03240 }
03241 }
03242
03243 [System.CLSCompliant(false)]
03244 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMapImage")]
03245 public static
03246 unsafe System.IntPtr EnqueueMapImage(IntPtr command_queue, IntPtr image, bool blocking_map, MapFlags map_flags, ref IntPtr* origin, ref IntPtr* region, ref IntPtr image_row_pitch, ref IntPtr image_slice_pitch, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event, [OutAttribute] out int errcode_ret)
03247 {
03248 fixed (IntPtr** origin_ptr = &origin)
03249 fixed (IntPtr** region_ptr = ®ion)
03250 fixed (IntPtr* image_row_pitch_ptr = &image_row_pitch)
03251 fixed (IntPtr* image_slice_pitch_ptr = &image_slice_pitch)
03252 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03253 fixed (IntPtr* @event_ptr = &@event)
03254 fixed (int* errcode_ret_ptr = &errcode_ret)
03255 {
03256 System.IntPtr retval = Delegates.clEnqueueMapImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_map, (MapFlags)map_flags, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr*)image_row_pitch_ptr, (IntPtr*)image_slice_pitch_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr, (int*)errcode_ret_ptr);
03257 errcode_ret = *errcode_ret_ptr;
03258 return retval;
03259 }
03260 }
03261
03262 [System.CLSCompliant(false)]
03263 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMarker")]
03264 public static
03265 unsafe int EnqueueMarker(IntPtr command_queue, IntPtr* @event)
03266 {
03267 return Delegates.clEnqueueMarker((IntPtr)command_queue, (IntPtr*)@event);
03268 }
03269
03270 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMarker")]
03271 public static
03272 int EnqueueMarker(IntPtr command_queue, IntPtr[] @event)
03273 {
03274 unsafe
03275 {
03276 fixed (IntPtr* @event_ptr = @event)
03277 {
03278 return Delegates.clEnqueueMarker((IntPtr)command_queue, (IntPtr*)@event_ptr);
03279 }
03280 }
03281 }
03282
03283 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueMarker")]
03284 public static
03285 int EnqueueMarker(IntPtr command_queue, ref IntPtr @event)
03286 {
03287 unsafe
03288 {
03289 fixed (IntPtr* @event_ptr = &@event)
03290 {
03291 return Delegates.clEnqueueMarker((IntPtr)command_queue, (IntPtr*)@event_ptr);
03292 }
03293 }
03294 }
03295
03296 [System.CLSCompliant(false)]
03297 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03298 public static
03299 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] ref T2 args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03300 where T2 : struct
03301 where T6 : struct
03302 {
03303 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03304 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03305 try
03306 {
03307 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03308 args = (T2)args_ptr.Target;
03309 return retval;
03310 }
03311 finally
03312 {
03313 args_ptr.Free();
03314 args_mem_loc_ptr.Free();
03315 }
03316 }
03317
03318 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03319 public static
03320 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] ref T2 args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03321 where T2 : struct
03322 where T6 : struct
03323 {
03324 unsafe
03325 {
03326 fixed (IntPtr* mem_list_ptr = mem_list)
03327 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03328 fixed (IntPtr* @event_ptr = @event)
03329 {
03330 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03331 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03332 try
03333 {
03334 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03335 args = (T2)args_ptr.Target;
03336 return retval;
03337 }
03338 finally
03339 {
03340 args_ptr.Free();
03341 args_mem_loc_ptr.Free();
03342 }
03343 }
03344 }
03345 }
03346
03347 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03348 public static
03349 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] ref T2 args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03350 where T2 : struct
03351 where T6 : struct
03352 {
03353 unsafe
03354 {
03355 fixed (IntPtr* mem_list_ptr = &mem_list)
03356 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03357 fixed (IntPtr* @event_ptr = &@event)
03358 {
03359 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03360 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03361 try
03362 {
03363 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03364 args = (T2)args_ptr.Target;
03365 return retval;
03366 }
03367 finally
03368 {
03369 args_ptr.Free();
03370 args_mem_loc_ptr.Free();
03371 }
03372 }
03373 }
03374 }
03375
03376 [System.CLSCompliant(false)]
03377 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03378 public static
03379 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] ref T2 args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03380 where T2 : struct
03381 where T6 : struct
03382 {
03383 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03384 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03385 try
03386 {
03387 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03388 args = (T2)args_ptr.Target;
03389 return retval;
03390 }
03391 finally
03392 {
03393 args_ptr.Free();
03394 args_mem_loc_ptr.Free();
03395 }
03396 }
03397
03398 [System.CLSCompliant(false)]
03399 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03400 public static
03401 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] ref T2 args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03402 where T2 : struct
03403 where T6 : struct
03404 {
03405 unsafe
03406 {
03407 fixed (IntPtr* mem_list_ptr = mem_list)
03408 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03409 fixed (IntPtr* @event_ptr = @event)
03410 {
03411 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03412 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03413 try
03414 {
03415 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03416 args = (T2)args_ptr.Target;
03417 return retval;
03418 }
03419 finally
03420 {
03421 args_ptr.Free();
03422 args_mem_loc_ptr.Free();
03423 }
03424 }
03425 }
03426 }
03427
03428 [System.CLSCompliant(false)]
03429 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03430 public static
03431 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] ref T2 args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03432 where T2 : struct
03433 where T6 : struct
03434 {
03435 unsafe
03436 {
03437 fixed (IntPtr* mem_list_ptr = &mem_list)
03438 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03439 fixed (IntPtr* @event_ptr = &@event)
03440 {
03441 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03442 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03443 try
03444 {
03445 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03446 args = (T2)args_ptr.Target;
03447 return retval;
03448 }
03449 finally
03450 {
03451 args_ptr.Free();
03452 args_mem_loc_ptr.Free();
03453 }
03454 }
03455 }
03456 }
03457
03458 [System.CLSCompliant(false)]
03459 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03460 public static
03461 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,,] args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03462 where T2 : struct
03463 where T6 : struct
03464 {
03465 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03466 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03467 try
03468 {
03469 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03470 }
03471 finally
03472 {
03473 args_ptr.Free();
03474 args_mem_loc_ptr.Free();
03475 }
03476 }
03477
03478 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03479 public static
03480 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,,] args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03481 where T2 : struct
03482 where T6 : struct
03483 {
03484 unsafe
03485 {
03486 fixed (IntPtr* mem_list_ptr = mem_list)
03487 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03488 fixed (IntPtr* @event_ptr = @event)
03489 {
03490 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03491 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03492 try
03493 {
03494 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03495 }
03496 finally
03497 {
03498 args_ptr.Free();
03499 args_mem_loc_ptr.Free();
03500 }
03501 }
03502 }
03503 }
03504
03505 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03506 public static
03507 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,,] args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03508 where T2 : struct
03509 where T6 : struct
03510 {
03511 unsafe
03512 {
03513 fixed (IntPtr* mem_list_ptr = &mem_list)
03514 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03515 fixed (IntPtr* @event_ptr = &@event)
03516 {
03517 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03518 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03519 try
03520 {
03521 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03522 }
03523 finally
03524 {
03525 args_ptr.Free();
03526 args_mem_loc_ptr.Free();
03527 }
03528 }
03529 }
03530 }
03531
03532 [System.CLSCompliant(false)]
03533 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03534 public static
03535 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,,] args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03536 where T2 : struct
03537 where T6 : struct
03538 {
03539 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03540 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03541 try
03542 {
03543 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03544 }
03545 finally
03546 {
03547 args_ptr.Free();
03548 args_mem_loc_ptr.Free();
03549 }
03550 }
03551
03552 [System.CLSCompliant(false)]
03553 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03554 public static
03555 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,,] args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03556 where T2 : struct
03557 where T6 : struct
03558 {
03559 unsafe
03560 {
03561 fixed (IntPtr* mem_list_ptr = mem_list)
03562 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03563 fixed (IntPtr* @event_ptr = @event)
03564 {
03565 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03566 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03567 try
03568 {
03569 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03570 }
03571 finally
03572 {
03573 args_ptr.Free();
03574 args_mem_loc_ptr.Free();
03575 }
03576 }
03577 }
03578 }
03579
03580 [System.CLSCompliant(false)]
03581 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03582 public static
03583 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,,] args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03584 where T2 : struct
03585 where T6 : struct
03586 {
03587 unsafe
03588 {
03589 fixed (IntPtr* mem_list_ptr = &mem_list)
03590 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03591 fixed (IntPtr* @event_ptr = &@event)
03592 {
03593 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03594 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03595 try
03596 {
03597 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03598 }
03599 finally
03600 {
03601 args_ptr.Free();
03602 args_mem_loc_ptr.Free();
03603 }
03604 }
03605 }
03606 }
03607
03608 [System.CLSCompliant(false)]
03609 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03610 public static
03611 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,] args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03612 where T2 : struct
03613 where T6 : struct
03614 {
03615 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03616 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03617 try
03618 {
03619 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03620 }
03621 finally
03622 {
03623 args_ptr.Free();
03624 args_mem_loc_ptr.Free();
03625 }
03626 }
03627
03628 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03629 public static
03630 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,] args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03631 where T2 : struct
03632 where T6 : struct
03633 {
03634 unsafe
03635 {
03636 fixed (IntPtr* mem_list_ptr = mem_list)
03637 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03638 fixed (IntPtr* @event_ptr = @event)
03639 {
03640 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03641 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03642 try
03643 {
03644 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03645 }
03646 finally
03647 {
03648 args_ptr.Free();
03649 args_mem_loc_ptr.Free();
03650 }
03651 }
03652 }
03653 }
03654
03655 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03656 public static
03657 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,] args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03658 where T2 : struct
03659 where T6 : struct
03660 {
03661 unsafe
03662 {
03663 fixed (IntPtr* mem_list_ptr = &mem_list)
03664 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03665 fixed (IntPtr* @event_ptr = &@event)
03666 {
03667 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03668 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03669 try
03670 {
03671 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03672 }
03673 finally
03674 {
03675 args_ptr.Free();
03676 args_mem_loc_ptr.Free();
03677 }
03678 }
03679 }
03680 }
03681
03682 [System.CLSCompliant(false)]
03683 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03684 public static
03685 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,] args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03686 where T2 : struct
03687 where T6 : struct
03688 {
03689 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03690 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03691 try
03692 {
03693 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03694 }
03695 finally
03696 {
03697 args_ptr.Free();
03698 args_mem_loc_ptr.Free();
03699 }
03700 }
03701
03702 [System.CLSCompliant(false)]
03703 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03704 public static
03705 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,] args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03706 where T2 : struct
03707 where T6 : struct
03708 {
03709 unsafe
03710 {
03711 fixed (IntPtr* mem_list_ptr = mem_list)
03712 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03713 fixed (IntPtr* @event_ptr = @event)
03714 {
03715 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03716 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03717 try
03718 {
03719 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03720 }
03721 finally
03722 {
03723 args_ptr.Free();
03724 args_mem_loc_ptr.Free();
03725 }
03726 }
03727 }
03728 }
03729
03730 [System.CLSCompliant(false)]
03731 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03732 public static
03733 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[,] args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03734 where T2 : struct
03735 where T6 : struct
03736 {
03737 unsafe
03738 {
03739 fixed (IntPtr* mem_list_ptr = &mem_list)
03740 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03741 fixed (IntPtr* @event_ptr = &@event)
03742 {
03743 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03744 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03745 try
03746 {
03747 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03748 }
03749 finally
03750 {
03751 args_ptr.Free();
03752 args_mem_loc_ptr.Free();
03753 }
03754 }
03755 }
03756 }
03757
03758 [System.CLSCompliant(false)]
03759 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03760 public static
03761 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[] args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03762 where T2 : struct
03763 where T6 : struct
03764 {
03765 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03766 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03767 try
03768 {
03769 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03770 }
03771 finally
03772 {
03773 args_ptr.Free();
03774 args_mem_loc_ptr.Free();
03775 }
03776 }
03777
03778 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03779 public static
03780 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[] args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03781 where T2 : struct
03782 where T6 : struct
03783 {
03784 unsafe
03785 {
03786 fixed (IntPtr* mem_list_ptr = mem_list)
03787 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03788 fixed (IntPtr* @event_ptr = @event)
03789 {
03790 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03791 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03792 try
03793 {
03794 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03795 }
03796 finally
03797 {
03798 args_ptr.Free();
03799 args_mem_loc_ptr.Free();
03800 }
03801 }
03802 }
03803 }
03804
03805 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03806 public static
03807 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[] args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03808 where T2 : struct
03809 where T6 : struct
03810 {
03811 unsafe
03812 {
03813 fixed (IntPtr* mem_list_ptr = &mem_list)
03814 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03815 fixed (IntPtr* @event_ptr = &@event)
03816 {
03817 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03818 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03819 try
03820 {
03821 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03822 }
03823 finally
03824 {
03825 args_ptr.Free();
03826 args_mem_loc_ptr.Free();
03827 }
03828 }
03829 }
03830 }
03831
03832 [System.CLSCompliant(false)]
03833 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03834 public static
03835 unsafe int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[] args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03836 where T2 : struct
03837 where T6 : struct
03838 {
03839 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03840 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03841 try
03842 {
03843 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03844 }
03845 finally
03846 {
03847 args_ptr.Free();
03848 args_mem_loc_ptr.Free();
03849 }
03850 }
03851
03852 [System.CLSCompliant(false)]
03853 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03854 public static
03855 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[] args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03856 where T2 : struct
03857 where T6 : struct
03858 {
03859 unsafe
03860 {
03861 fixed (IntPtr* mem_list_ptr = mem_list)
03862 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03863 fixed (IntPtr* @event_ptr = @event)
03864 {
03865 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03866 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03867 try
03868 {
03869 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03870 }
03871 finally
03872 {
03873 args_ptr.Free();
03874 args_mem_loc_ptr.Free();
03875 }
03876 }
03877 }
03878 }
03879
03880 [System.CLSCompliant(false)]
03881 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03882 public static
03883 int EnqueueNativeKernel<T2,T6>(IntPtr command_queue, IntPtr user_func, [InAttribute, OutAttribute] T2[] args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
03884 where T2 : struct
03885 where T6 : struct
03886 {
03887 unsafe
03888 {
03889 fixed (IntPtr* mem_list_ptr = &mem_list)
03890 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
03891 fixed (IntPtr* @event_ptr = &@event)
03892 {
03893 GCHandle args_ptr = GCHandle.Alloc(args, GCHandleType.Pinned);
03894 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03895 try
03896 {
03897 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args_ptr.AddrOfPinnedObject(), (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
03898 }
03899 finally
03900 {
03901 args_ptr.Free();
03902 args_mem_loc_ptr.Free();
03903 }
03904 }
03905 }
03906 }
03907
03908 [System.CLSCompliant(false)]
03909 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03910 public static
03911 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] ref T6 args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03912 where T6 : struct
03913 {
03914 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03915 try
03916 {
03917 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03918 args_mem_loc = (T6)args_mem_loc_ptr.Target;
03919 return retval;
03920 }
03921 finally
03922 {
03923 args_mem_loc_ptr.Free();
03924 }
03925 }
03926
03927 [System.CLSCompliant(false)]
03928 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03929 public static
03930 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03931 where T6 : struct
03932 {
03933 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03934 try
03935 {
03936 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03937 }
03938 finally
03939 {
03940 args_mem_loc_ptr.Free();
03941 }
03942 }
03943
03944 [System.CLSCompliant(false)]
03945 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03946 public static
03947 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03948 where T6 : struct
03949 {
03950 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03951 try
03952 {
03953 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03954 }
03955 finally
03956 {
03957 args_mem_loc_ptr.Free();
03958 }
03959 }
03960
03961 [System.CLSCompliant(false)]
03962 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03963 public static
03964 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[] args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03965 where T6 : struct
03966 {
03967 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03968 try
03969 {
03970 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03971 }
03972 finally
03973 {
03974 args_mem_loc_ptr.Free();
03975 }
03976 }
03977
03978 [System.CLSCompliant(false)]
03979 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03980 public static
03981 unsafe int EnqueueNativeKernel(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr* mem_list, IntPtr args_mem_loc, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
03982 {
03983 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
03984 }
03985
03986 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
03987 public static
03988 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] ref T6 args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
03989 where T6 : struct
03990 {
03991 unsafe
03992 {
03993 fixed (IntPtr* mem_list_ptr = mem_list)
03994 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
03995 fixed (IntPtr* @event_ptr = @event)
03996 {
03997 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
03998 try
03999 {
04000 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04001 args_mem_loc = (T6)args_mem_loc_ptr.Target;
04002 return retval;
04003 }
04004 finally
04005 {
04006 args_mem_loc_ptr.Free();
04007 }
04008 }
04009 }
04010 }
04011
04012 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04013 public static
04014 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04015 where T6 : struct
04016 {
04017 unsafe
04018 {
04019 fixed (IntPtr* mem_list_ptr = mem_list)
04020 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04021 fixed (IntPtr* @event_ptr = @event)
04022 {
04023 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04024 try
04025 {
04026 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04027 }
04028 finally
04029 {
04030 args_mem_loc_ptr.Free();
04031 }
04032 }
04033 }
04034 }
04035
04036 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04037 public static
04038 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,] args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04039 where T6 : struct
04040 {
04041 unsafe
04042 {
04043 fixed (IntPtr* mem_list_ptr = mem_list)
04044 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04045 fixed (IntPtr* @event_ptr = @event)
04046 {
04047 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04048 try
04049 {
04050 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04051 }
04052 finally
04053 {
04054 args_mem_loc_ptr.Free();
04055 }
04056 }
04057 }
04058 }
04059
04060 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04061 public static
04062 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[] args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04063 where T6 : struct
04064 {
04065 unsafe
04066 {
04067 fixed (IntPtr* mem_list_ptr = mem_list)
04068 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04069 fixed (IntPtr* @event_ptr = @event)
04070 {
04071 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04072 try
04073 {
04074 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04075 }
04076 finally
04077 {
04078 args_mem_loc_ptr.Free();
04079 }
04080 }
04081 }
04082 }
04083
04084 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04085 public static
04086 int EnqueueNativeKernel(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, IntPtr[] mem_list, IntPtr args_mem_loc, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04087 {
04088 unsafe
04089 {
04090 fixed (IntPtr* mem_list_ptr = mem_list)
04091 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04092 fixed (IntPtr* @event_ptr = @event)
04093 {
04094 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04095 }
04096 }
04097 }
04098
04099 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04100 public static
04101 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] ref T6 args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04102 where T6 : struct
04103 {
04104 unsafe
04105 {
04106 fixed (IntPtr* mem_list_ptr = &mem_list)
04107 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04108 fixed (IntPtr* @event_ptr = &@event)
04109 {
04110 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04111 try
04112 {
04113 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04114 args_mem_loc = (T6)args_mem_loc_ptr.Target;
04115 return retval;
04116 }
04117 finally
04118 {
04119 args_mem_loc_ptr.Free();
04120 }
04121 }
04122 }
04123 }
04124
04125 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04126 public static
04127 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04128 where T6 : struct
04129 {
04130 unsafe
04131 {
04132 fixed (IntPtr* mem_list_ptr = &mem_list)
04133 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04134 fixed (IntPtr* @event_ptr = &@event)
04135 {
04136 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04137 try
04138 {
04139 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04140 }
04141 finally
04142 {
04143 args_mem_loc_ptr.Free();
04144 }
04145 }
04146 }
04147 }
04148
04149 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04150 public static
04151 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,] args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04152 where T6 : struct
04153 {
04154 unsafe
04155 {
04156 fixed (IntPtr* mem_list_ptr = &mem_list)
04157 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04158 fixed (IntPtr* @event_ptr = &@event)
04159 {
04160 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04161 try
04162 {
04163 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04164 }
04165 finally
04166 {
04167 args_mem_loc_ptr.Free();
04168 }
04169 }
04170 }
04171 }
04172
04173 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04174 public static
04175 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[] args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04176 where T6 : struct
04177 {
04178 unsafe
04179 {
04180 fixed (IntPtr* mem_list_ptr = &mem_list)
04181 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04182 fixed (IntPtr* @event_ptr = &@event)
04183 {
04184 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04185 try
04186 {
04187 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04188 }
04189 finally
04190 {
04191 args_mem_loc_ptr.Free();
04192 }
04193 }
04194 }
04195 }
04196
04197 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04198 public static
04199 int EnqueueNativeKernel(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, Int32 num_mem_objects, ref IntPtr mem_list, IntPtr args_mem_loc, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04200 {
04201 unsafe
04202 {
04203 fixed (IntPtr* mem_list_ptr = &mem_list)
04204 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04205 fixed (IntPtr* @event_ptr = &@event)
04206 {
04207 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04208 }
04209 }
04210 }
04211
04212 [System.CLSCompliant(false)]
04213 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04214 public static
04215 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] ref T6 args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04216 where T6 : struct
04217 {
04218 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04219 try
04220 {
04221 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04222 args_mem_loc = (T6)args_mem_loc_ptr.Target;
04223 return retval;
04224 }
04225 finally
04226 {
04227 args_mem_loc_ptr.Free();
04228 }
04229 }
04230
04231 [System.CLSCompliant(false)]
04232 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04233 public static
04234 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04235 where T6 : struct
04236 {
04237 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04238 try
04239 {
04240 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04241 }
04242 finally
04243 {
04244 args_mem_loc_ptr.Free();
04245 }
04246 }
04247
04248 [System.CLSCompliant(false)]
04249 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04250 public static
04251 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[,] args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04252 where T6 : struct
04253 {
04254 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04255 try
04256 {
04257 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04258 }
04259 finally
04260 {
04261 args_mem_loc_ptr.Free();
04262 }
04263 }
04264
04265 [System.CLSCompliant(false)]
04266 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04267 public static
04268 unsafe int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, [InAttribute, OutAttribute] T6[] args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04269 where T6 : struct
04270 {
04271 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04272 try
04273 {
04274 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04275 }
04276 finally
04277 {
04278 args_mem_loc_ptr.Free();
04279 }
04280 }
04281
04282 [System.CLSCompliant(false)]
04283 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04284 public static
04285 unsafe int EnqueueNativeKernel(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr* mem_list, IntPtr args_mem_loc, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04286 {
04287 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list, (IntPtr)args_mem_loc, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04288 }
04289
04290 [System.CLSCompliant(false)]
04291 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04292 public static
04293 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] ref T6 args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04294 where T6 : struct
04295 {
04296 unsafe
04297 {
04298 fixed (IntPtr* mem_list_ptr = mem_list)
04299 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04300 fixed (IntPtr* @event_ptr = @event)
04301 {
04302 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04303 try
04304 {
04305 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04306 args_mem_loc = (T6)args_mem_loc_ptr.Target;
04307 return retval;
04308 }
04309 finally
04310 {
04311 args_mem_loc_ptr.Free();
04312 }
04313 }
04314 }
04315 }
04316
04317 [System.CLSCompliant(false)]
04318 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04319 public static
04320 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04321 where T6 : struct
04322 {
04323 unsafe
04324 {
04325 fixed (IntPtr* mem_list_ptr = mem_list)
04326 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04327 fixed (IntPtr* @event_ptr = @event)
04328 {
04329 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04330 try
04331 {
04332 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04333 }
04334 finally
04335 {
04336 args_mem_loc_ptr.Free();
04337 }
04338 }
04339 }
04340 }
04341
04342 [System.CLSCompliant(false)]
04343 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04344 public static
04345 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[,] args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04346 where T6 : struct
04347 {
04348 unsafe
04349 {
04350 fixed (IntPtr* mem_list_ptr = mem_list)
04351 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04352 fixed (IntPtr* @event_ptr = @event)
04353 {
04354 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04355 try
04356 {
04357 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04358 }
04359 finally
04360 {
04361 args_mem_loc_ptr.Free();
04362 }
04363 }
04364 }
04365 }
04366
04367 [System.CLSCompliant(false)]
04368 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04369 public static
04370 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, [InAttribute, OutAttribute] T6[] args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04371 where T6 : struct
04372 {
04373 unsafe
04374 {
04375 fixed (IntPtr* mem_list_ptr = mem_list)
04376 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04377 fixed (IntPtr* @event_ptr = @event)
04378 {
04379 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04380 try
04381 {
04382 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04383 }
04384 finally
04385 {
04386 args_mem_loc_ptr.Free();
04387 }
04388 }
04389 }
04390 }
04391
04392 [System.CLSCompliant(false)]
04393 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04394 public static
04395 int EnqueueNativeKernel(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, IntPtr[] mem_list, IntPtr args_mem_loc, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04396 {
04397 unsafe
04398 {
04399 fixed (IntPtr* mem_list_ptr = mem_list)
04400 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04401 fixed (IntPtr* @event_ptr = @event)
04402 {
04403 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04404 }
04405 }
04406 }
04407
04408 [System.CLSCompliant(false)]
04409 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04410 public static
04411 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] ref T6 args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04412 where T6 : struct
04413 {
04414 unsafe
04415 {
04416 fixed (IntPtr* mem_list_ptr = &mem_list)
04417 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04418 fixed (IntPtr* @event_ptr = &@event)
04419 {
04420 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04421 try
04422 {
04423 int retval = Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04424 args_mem_loc = (T6)args_mem_loc_ptr.Target;
04425 return retval;
04426 }
04427 finally
04428 {
04429 args_mem_loc_ptr.Free();
04430 }
04431 }
04432 }
04433 }
04434
04435 [System.CLSCompliant(false)]
04436 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04437 public static
04438 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,,] args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04439 where T6 : struct
04440 {
04441 unsafe
04442 {
04443 fixed (IntPtr* mem_list_ptr = &mem_list)
04444 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04445 fixed (IntPtr* @event_ptr = &@event)
04446 {
04447 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04448 try
04449 {
04450 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04451 }
04452 finally
04453 {
04454 args_mem_loc_ptr.Free();
04455 }
04456 }
04457 }
04458 }
04459
04460 [System.CLSCompliant(false)]
04461 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04462 public static
04463 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[,] args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04464 where T6 : struct
04465 {
04466 unsafe
04467 {
04468 fixed (IntPtr* mem_list_ptr = &mem_list)
04469 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04470 fixed (IntPtr* @event_ptr = &@event)
04471 {
04472 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04473 try
04474 {
04475 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04476 }
04477 finally
04478 {
04479 args_mem_loc_ptr.Free();
04480 }
04481 }
04482 }
04483 }
04484
04485 [System.CLSCompliant(false)]
04486 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04487 public static
04488 int EnqueueNativeKernel<T6>(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, [InAttribute, OutAttribute] T6[] args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04489 where T6 : struct
04490 {
04491 unsafe
04492 {
04493 fixed (IntPtr* mem_list_ptr = &mem_list)
04494 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04495 fixed (IntPtr* @event_ptr = &@event)
04496 {
04497 GCHandle args_mem_loc_ptr = GCHandle.Alloc(args_mem_loc, GCHandleType.Pinned);
04498 try
04499 {
04500 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04501 }
04502 finally
04503 {
04504 args_mem_loc_ptr.Free();
04505 }
04506 }
04507 }
04508 }
04509
04510 [System.CLSCompliant(false)]
04511 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNativeKernel")]
04512 public static
04513 int EnqueueNativeKernel(IntPtr command_queue, IntPtr user_func, IntPtr args, IntPtr cb_args, uint num_mem_objects, ref IntPtr mem_list, IntPtr args_mem_loc, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04514 {
04515 unsafe
04516 {
04517 fixed (IntPtr* mem_list_ptr = &mem_list)
04518 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04519 fixed (IntPtr* @event_ptr = &@event)
04520 {
04521 return Delegates.clEnqueueNativeKernel((IntPtr)command_queue, (IntPtr)user_func, (IntPtr)args, (IntPtr)cb_args, (uint)num_mem_objects, (IntPtr*)mem_list_ptr, (IntPtr)args_mem_loc, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04522 }
04523 }
04524 }
04525
04526 [System.CLSCompliant(false)]
04527 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNDRangeKernel")]
04528 public static
04529 unsafe int EnqueueNDRangeKernel(IntPtr command_queue, IntPtr kernel, Int32 work_dim, IntPtr* global_work_offset, IntPtr* global_work_size, IntPtr* local_work_size, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04530 {
04531 return Delegates.clEnqueueNDRangeKernel((IntPtr)command_queue, (IntPtr)kernel, (uint)work_dim, (IntPtr*)global_work_offset, (IntPtr*)global_work_size, (IntPtr*)local_work_size, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04532 }
04533
04534 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNDRangeKernel")]
04535 public static
04536 int EnqueueNDRangeKernel(IntPtr command_queue, IntPtr kernel, Int32 work_dim, IntPtr[] global_work_offset, IntPtr[] global_work_size, IntPtr[] local_work_size, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04537 {
04538 unsafe
04539 {
04540 fixed (IntPtr* global_work_offset_ptr = global_work_offset)
04541 fixed (IntPtr* global_work_size_ptr = global_work_size)
04542 fixed (IntPtr* local_work_size_ptr = local_work_size)
04543 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04544 fixed (IntPtr* @event_ptr = @event)
04545 {
04546 return Delegates.clEnqueueNDRangeKernel((IntPtr)command_queue, (IntPtr)kernel, (uint)work_dim, (IntPtr*)global_work_offset_ptr, (IntPtr*)global_work_size_ptr, (IntPtr*)local_work_size_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04547 }
04548 }
04549 }
04550
04551 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNDRangeKernel")]
04552 public static
04553 int EnqueueNDRangeKernel(IntPtr command_queue, IntPtr kernel, Int32 work_dim, ref IntPtr global_work_offset, ref IntPtr global_work_size, ref IntPtr local_work_size, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04554 {
04555 unsafe
04556 {
04557 fixed (IntPtr* global_work_offset_ptr = &global_work_offset)
04558 fixed (IntPtr* global_work_size_ptr = &global_work_size)
04559 fixed (IntPtr* local_work_size_ptr = &local_work_size)
04560 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04561 fixed (IntPtr* @event_ptr = &@event)
04562 {
04563 return Delegates.clEnqueueNDRangeKernel((IntPtr)command_queue, (IntPtr)kernel, (uint)work_dim, (IntPtr*)global_work_offset_ptr, (IntPtr*)global_work_size_ptr, (IntPtr*)local_work_size_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04564 }
04565 }
04566 }
04567
04568 [System.CLSCompliant(false)]
04569 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNDRangeKernel")]
04570 public static
04571 unsafe int EnqueueNDRangeKernel(IntPtr command_queue, IntPtr kernel, uint work_dim, IntPtr* global_work_offset, IntPtr* global_work_size, IntPtr* local_work_size, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04572 {
04573 return Delegates.clEnqueueNDRangeKernel((IntPtr)command_queue, (IntPtr)kernel, (uint)work_dim, (IntPtr*)global_work_offset, (IntPtr*)global_work_size, (IntPtr*)local_work_size, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04574 }
04575
04576 [System.CLSCompliant(false)]
04577 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNDRangeKernel")]
04578 public static
04579 int EnqueueNDRangeKernel(IntPtr command_queue, IntPtr kernel, uint work_dim, IntPtr[] global_work_offset, IntPtr[] global_work_size, IntPtr[] local_work_size, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04580 {
04581 unsafe
04582 {
04583 fixed (IntPtr* global_work_offset_ptr = global_work_offset)
04584 fixed (IntPtr* global_work_size_ptr = global_work_size)
04585 fixed (IntPtr* local_work_size_ptr = local_work_size)
04586 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04587 fixed (IntPtr* @event_ptr = @event)
04588 {
04589 return Delegates.clEnqueueNDRangeKernel((IntPtr)command_queue, (IntPtr)kernel, (uint)work_dim, (IntPtr*)global_work_offset_ptr, (IntPtr*)global_work_size_ptr, (IntPtr*)local_work_size_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04590 }
04591 }
04592 }
04593
04594 [System.CLSCompliant(false)]
04595 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueNDRangeKernel")]
04596 public static
04597 int EnqueueNDRangeKernel(IntPtr command_queue, IntPtr kernel, uint work_dim, ref IntPtr global_work_offset, ref IntPtr global_work_size, ref IntPtr local_work_size, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04598 {
04599 unsafe
04600 {
04601 fixed (IntPtr* global_work_offset_ptr = &global_work_offset)
04602 fixed (IntPtr* global_work_size_ptr = &global_work_size)
04603 fixed (IntPtr* local_work_size_ptr = &local_work_size)
04604 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04605 fixed (IntPtr* @event_ptr = &@event)
04606 {
04607 return Delegates.clEnqueueNDRangeKernel((IntPtr)command_queue, (IntPtr)kernel, (uint)work_dim, (IntPtr*)global_work_offset_ptr, (IntPtr*)global_work_size_ptr, (IntPtr*)local_work_size_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04608 }
04609 }
04610 }
04611
04612 [System.CLSCompliant(false)]
04613 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04614 public static
04615 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04616 where T5 : struct
04617 {
04618 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04619 try
04620 {
04621 int retval = Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04622 ptr = (T5)ptr_ptr.Target;
04623 return retval;
04624 }
04625 finally
04626 {
04627 ptr_ptr.Free();
04628 }
04629 }
04630
04631 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04632 public static
04633 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04634 where T5 : struct
04635 {
04636 unsafe
04637 {
04638 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04639 fixed (IntPtr* @event_ptr = @event)
04640 {
04641 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04642 try
04643 {
04644 int retval = Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04645 ptr = (T5)ptr_ptr.Target;
04646 return retval;
04647 }
04648 finally
04649 {
04650 ptr_ptr.Free();
04651 }
04652 }
04653 }
04654 }
04655
04656 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04657 public static
04658 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04659 where T5 : struct
04660 {
04661 unsafe
04662 {
04663 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04664 fixed (IntPtr* @event_ptr = &@event)
04665 {
04666 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04667 try
04668 {
04669 int retval = Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04670 ptr = (T5)ptr_ptr.Target;
04671 return retval;
04672 }
04673 finally
04674 {
04675 ptr_ptr.Free();
04676 }
04677 }
04678 }
04679 }
04680
04681 [System.CLSCompliant(false)]
04682 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04683 public static
04684 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04685 where T5 : struct
04686 {
04687 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04688 try
04689 {
04690 int retval = Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04691 ptr = (T5)ptr_ptr.Target;
04692 return retval;
04693 }
04694 finally
04695 {
04696 ptr_ptr.Free();
04697 }
04698 }
04699
04700 [System.CLSCompliant(false)]
04701 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04702 public static
04703 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04704 where T5 : struct
04705 {
04706 unsafe
04707 {
04708 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04709 fixed (IntPtr* @event_ptr = @event)
04710 {
04711 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04712 try
04713 {
04714 int retval = Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04715 ptr = (T5)ptr_ptr.Target;
04716 return retval;
04717 }
04718 finally
04719 {
04720 ptr_ptr.Free();
04721 }
04722 }
04723 }
04724 }
04725
04726 [System.CLSCompliant(false)]
04727 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04728 public static
04729 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04730 where T5 : struct
04731 {
04732 unsafe
04733 {
04734 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04735 fixed (IntPtr* @event_ptr = &@event)
04736 {
04737 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04738 try
04739 {
04740 int retval = Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04741 ptr = (T5)ptr_ptr.Target;
04742 return retval;
04743 }
04744 finally
04745 {
04746 ptr_ptr.Free();
04747 }
04748 }
04749 }
04750 }
04751
04752 [System.CLSCompliant(false)]
04753 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04754 public static
04755 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04756 where T5 : struct
04757 {
04758 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04759 try
04760 {
04761 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04762 }
04763 finally
04764 {
04765 ptr_ptr.Free();
04766 }
04767 }
04768
04769 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04770 public static
04771 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04772 where T5 : struct
04773 {
04774 unsafe
04775 {
04776 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04777 fixed (IntPtr* @event_ptr = @event)
04778 {
04779 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04780 try
04781 {
04782 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04783 }
04784 finally
04785 {
04786 ptr_ptr.Free();
04787 }
04788 }
04789 }
04790 }
04791
04792 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04793 public static
04794 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04795 where T5 : struct
04796 {
04797 unsafe
04798 {
04799 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04800 fixed (IntPtr* @event_ptr = &@event)
04801 {
04802 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04803 try
04804 {
04805 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04806 }
04807 finally
04808 {
04809 ptr_ptr.Free();
04810 }
04811 }
04812 }
04813 }
04814
04815 [System.CLSCompliant(false)]
04816 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04817 public static
04818 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04819 where T5 : struct
04820 {
04821 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04822 try
04823 {
04824 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04825 }
04826 finally
04827 {
04828 ptr_ptr.Free();
04829 }
04830 }
04831
04832 [System.CLSCompliant(false)]
04833 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04834 public static
04835 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04836 where T5 : struct
04837 {
04838 unsafe
04839 {
04840 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04841 fixed (IntPtr* @event_ptr = @event)
04842 {
04843 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04844 try
04845 {
04846 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04847 }
04848 finally
04849 {
04850 ptr_ptr.Free();
04851 }
04852 }
04853 }
04854 }
04855
04856 [System.CLSCompliant(false)]
04857 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04858 public static
04859 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04860 where T5 : struct
04861 {
04862 unsafe
04863 {
04864 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04865 fixed (IntPtr* @event_ptr = &@event)
04866 {
04867 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04868 try
04869 {
04870 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04871 }
04872 finally
04873 {
04874 ptr_ptr.Free();
04875 }
04876 }
04877 }
04878 }
04879
04880 [System.CLSCompliant(false)]
04881 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04882 public static
04883 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04884 where T5 : struct
04885 {
04886 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04887 try
04888 {
04889 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04890 }
04891 finally
04892 {
04893 ptr_ptr.Free();
04894 }
04895 }
04896
04897 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04898 public static
04899 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04900 where T5 : struct
04901 {
04902 unsafe
04903 {
04904 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04905 fixed (IntPtr* @event_ptr = @event)
04906 {
04907 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04908 try
04909 {
04910 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04911 }
04912 finally
04913 {
04914 ptr_ptr.Free();
04915 }
04916 }
04917 }
04918 }
04919
04920 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04921 public static
04922 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04923 where T5 : struct
04924 {
04925 unsafe
04926 {
04927 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04928 fixed (IntPtr* @event_ptr = &@event)
04929 {
04930 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04931 try
04932 {
04933 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04934 }
04935 finally
04936 {
04937 ptr_ptr.Free();
04938 }
04939 }
04940 }
04941 }
04942
04943 [System.CLSCompliant(false)]
04944 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04945 public static
04946 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
04947 where T5 : struct
04948 {
04949 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04950 try
04951 {
04952 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
04953 }
04954 finally
04955 {
04956 ptr_ptr.Free();
04957 }
04958 }
04959
04960 [System.CLSCompliant(false)]
04961 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04962 public static
04963 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
04964 where T5 : struct
04965 {
04966 unsafe
04967 {
04968 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
04969 fixed (IntPtr* @event_ptr = @event)
04970 {
04971 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04972 try
04973 {
04974 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04975 }
04976 finally
04977 {
04978 ptr_ptr.Free();
04979 }
04980 }
04981 }
04982 }
04983
04984 [System.CLSCompliant(false)]
04985 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
04986 public static
04987 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
04988 where T5 : struct
04989 {
04990 unsafe
04991 {
04992 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
04993 fixed (IntPtr* @event_ptr = &@event)
04994 {
04995 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
04996 try
04997 {
04998 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
04999 }
05000 finally
05001 {
05002 ptr_ptr.Free();
05003 }
05004 }
05005 }
05006 }
05007
05008 [System.CLSCompliant(false)]
05009 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05010 public static
05011 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05012 where T5 : struct
05013 {
05014 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05015 try
05016 {
05017 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05018 }
05019 finally
05020 {
05021 ptr_ptr.Free();
05022 }
05023 }
05024
05025 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05026 public static
05027 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05028 where T5 : struct
05029 {
05030 unsafe
05031 {
05032 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05033 fixed (IntPtr* @event_ptr = @event)
05034 {
05035 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05036 try
05037 {
05038 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05039 }
05040 finally
05041 {
05042 ptr_ptr.Free();
05043 }
05044 }
05045 }
05046 }
05047
05048 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05049 public static
05050 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05051 where T5 : struct
05052 {
05053 unsafe
05054 {
05055 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05056 fixed (IntPtr* @event_ptr = &@event)
05057 {
05058 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05059 try
05060 {
05061 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05062 }
05063 finally
05064 {
05065 ptr_ptr.Free();
05066 }
05067 }
05068 }
05069 }
05070
05071 [System.CLSCompliant(false)]
05072 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05073 public static
05074 unsafe int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05075 where T5 : struct
05076 {
05077 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05078 try
05079 {
05080 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05081 }
05082 finally
05083 {
05084 ptr_ptr.Free();
05085 }
05086 }
05087
05088 [System.CLSCompliant(false)]
05089 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05090 public static
05091 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05092 where T5 : struct
05093 {
05094 unsafe
05095 {
05096 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05097 fixed (IntPtr* @event_ptr = @event)
05098 {
05099 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05100 try
05101 {
05102 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05103 }
05104 finally
05105 {
05106 ptr_ptr.Free();
05107 }
05108 }
05109 }
05110 }
05111
05112 [System.CLSCompliant(false)]
05113 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05114 public static
05115 int EnqueueReadBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05116 where T5 : struct
05117 {
05118 unsafe
05119 {
05120 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05121 fixed (IntPtr* @event_ptr = &@event)
05122 {
05123 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05124 try
05125 {
05126 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05127 }
05128 finally
05129 {
05130 ptr_ptr.Free();
05131 }
05132 }
05133 }
05134 }
05135
05136 [System.CLSCompliant(false)]
05137 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05138 public static
05139 unsafe int EnqueueReadBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05140 {
05141 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05142 }
05143
05144 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05145 public static
05146 int EnqueueReadBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05147 {
05148 unsafe
05149 {
05150 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05151 fixed (IntPtr* @event_ptr = @event)
05152 {
05153 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05154 }
05155 }
05156 }
05157
05158 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05159 public static
05160 int EnqueueReadBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05161 {
05162 unsafe
05163 {
05164 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05165 fixed (IntPtr* @event_ptr = &@event)
05166 {
05167 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05168 }
05169 }
05170 }
05171
05172 [System.CLSCompliant(false)]
05173 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05174 public static
05175 unsafe int EnqueueReadBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05176 {
05177 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05178 }
05179
05180 [System.CLSCompliant(false)]
05181 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05182 public static
05183 int EnqueueReadBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05184 {
05185 unsafe
05186 {
05187 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05188 fixed (IntPtr* @event_ptr = @event)
05189 {
05190 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05191 }
05192 }
05193 }
05194
05195 [System.CLSCompliant(false)]
05196 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadBuffer")]
05197 public static
05198 int EnqueueReadBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05199 {
05200 unsafe
05201 {
05202 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05203 fixed (IntPtr* @event_ptr = &@event)
05204 {
05205 return Delegates.clEnqueueReadBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_read, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05206 }
05207 }
05208 }
05209
05210 [System.CLSCompliant(false)]
05211 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05212 public static
05213 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05214 where T7 : struct
05215 {
05216 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05217 try
05218 {
05219 int retval = Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05220 ptr = (T7)ptr_ptr.Target;
05221 return retval;
05222 }
05223 finally
05224 {
05225 ptr_ptr.Free();
05226 }
05227 }
05228
05229 [System.CLSCompliant(false)]
05230 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05231 public static
05232 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05233 where T7 : struct
05234 {
05235 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05236 try
05237 {
05238 int retval = Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05239 ptr = (T7)ptr_ptr.Target;
05240 return retval;
05241 }
05242 finally
05243 {
05244 ptr_ptr.Free();
05245 }
05246 }
05247
05248 [System.CLSCompliant(false)]
05249 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05250 public static
05251 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05252 where T7 : struct
05253 {
05254 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05255 try
05256 {
05257 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05258 }
05259 finally
05260 {
05261 ptr_ptr.Free();
05262 }
05263 }
05264
05265 [System.CLSCompliant(false)]
05266 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05267 public static
05268 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05269 where T7 : struct
05270 {
05271 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05272 try
05273 {
05274 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05275 }
05276 finally
05277 {
05278 ptr_ptr.Free();
05279 }
05280 }
05281
05282 [System.CLSCompliant(false)]
05283 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05284 public static
05285 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05286 where T7 : struct
05287 {
05288 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05289 try
05290 {
05291 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05292 }
05293 finally
05294 {
05295 ptr_ptr.Free();
05296 }
05297 }
05298
05299 [System.CLSCompliant(false)]
05300 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05301 public static
05302 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05303 where T7 : struct
05304 {
05305 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05306 try
05307 {
05308 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05309 }
05310 finally
05311 {
05312 ptr_ptr.Free();
05313 }
05314 }
05315
05316 [System.CLSCompliant(false)]
05317 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05318 public static
05319 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05320 where T7 : struct
05321 {
05322 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05323 try
05324 {
05325 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05326 }
05327 finally
05328 {
05329 ptr_ptr.Free();
05330 }
05331 }
05332
05333 [System.CLSCompliant(false)]
05334 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05335 public static
05336 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05337 where T7 : struct
05338 {
05339 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05340 try
05341 {
05342 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05343 }
05344 finally
05345 {
05346 ptr_ptr.Free();
05347 }
05348 }
05349
05350 [System.CLSCompliant(false)]
05351 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05352 public static
05353 unsafe int EnqueueReadImage(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05354 {
05355 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05356 }
05357
05358 [System.CLSCompliant(false)]
05359 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05360 public static
05361 unsafe int EnqueueReadImage(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr** origin, IntPtr** region, IntPtr row_pitch, IntPtr slice_pitch, IntPtr ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05362 {
05363 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin, (IntPtr**)region, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05364 }
05365
05366 [System.CLSCompliant(false)]
05367 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05368 public static
05369 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05370 where T7 : struct
05371 {
05372 fixed (IntPtr** origin_ptr = origin)
05373 fixed (IntPtr** region_ptr = region)
05374 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05375 fixed (IntPtr* @event_ptr = @event)
05376 {
05377 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05378 try
05379 {
05380 int retval = Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05381 ptr = (T7)ptr_ptr.Target;
05382 return retval;
05383 }
05384 finally
05385 {
05386 ptr_ptr.Free();
05387 }
05388 }
05389 }
05390
05391 [System.CLSCompliant(false)]
05392 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05393 public static
05394 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05395 where T7 : struct
05396 {
05397 fixed (IntPtr** origin_ptr = origin)
05398 fixed (IntPtr** region_ptr = region)
05399 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05400 fixed (IntPtr* @event_ptr = @event)
05401 {
05402 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05403 try
05404 {
05405 int retval = Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05406 ptr = (T7)ptr_ptr.Target;
05407 return retval;
05408 }
05409 finally
05410 {
05411 ptr_ptr.Free();
05412 }
05413 }
05414 }
05415
05416 [System.CLSCompliant(false)]
05417 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05418 public static
05419 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05420 where T7 : struct
05421 {
05422 fixed (IntPtr** origin_ptr = origin)
05423 fixed (IntPtr** region_ptr = region)
05424 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05425 fixed (IntPtr* @event_ptr = @event)
05426 {
05427 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05428 try
05429 {
05430 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05431 }
05432 finally
05433 {
05434 ptr_ptr.Free();
05435 }
05436 }
05437 }
05438
05439 [System.CLSCompliant(false)]
05440 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05441 public static
05442 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05443 where T7 : struct
05444 {
05445 fixed (IntPtr** origin_ptr = origin)
05446 fixed (IntPtr** region_ptr = region)
05447 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05448 fixed (IntPtr* @event_ptr = @event)
05449 {
05450 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05451 try
05452 {
05453 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05454 }
05455 finally
05456 {
05457 ptr_ptr.Free();
05458 }
05459 }
05460 }
05461
05462 [System.CLSCompliant(false)]
05463 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05464 public static
05465 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05466 where T7 : struct
05467 {
05468 fixed (IntPtr** origin_ptr = origin)
05469 fixed (IntPtr** region_ptr = region)
05470 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05471 fixed (IntPtr* @event_ptr = @event)
05472 {
05473 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05474 try
05475 {
05476 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05477 }
05478 finally
05479 {
05480 ptr_ptr.Free();
05481 }
05482 }
05483 }
05484
05485 [System.CLSCompliant(false)]
05486 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05487 public static
05488 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05489 where T7 : struct
05490 {
05491 fixed (IntPtr** origin_ptr = origin)
05492 fixed (IntPtr** region_ptr = region)
05493 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05494 fixed (IntPtr* @event_ptr = @event)
05495 {
05496 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05497 try
05498 {
05499 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05500 }
05501 finally
05502 {
05503 ptr_ptr.Free();
05504 }
05505 }
05506 }
05507
05508 [System.CLSCompliant(false)]
05509 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05510 public static
05511 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05512 where T7 : struct
05513 {
05514 fixed (IntPtr** origin_ptr = origin)
05515 fixed (IntPtr** region_ptr = region)
05516 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05517 fixed (IntPtr* @event_ptr = @event)
05518 {
05519 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05520 try
05521 {
05522 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05523 }
05524 finally
05525 {
05526 ptr_ptr.Free();
05527 }
05528 }
05529 }
05530
05531 [System.CLSCompliant(false)]
05532 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05533 public static
05534 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05535 where T7 : struct
05536 {
05537 fixed (IntPtr** origin_ptr = origin)
05538 fixed (IntPtr** region_ptr = region)
05539 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05540 fixed (IntPtr* @event_ptr = @event)
05541 {
05542 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05543 try
05544 {
05545 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05546 }
05547 finally
05548 {
05549 ptr_ptr.Free();
05550 }
05551 }
05552 }
05553
05554 [System.CLSCompliant(false)]
05555 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05556 public static
05557 unsafe int EnqueueReadImage(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05558 {
05559 fixed (IntPtr** origin_ptr = origin)
05560 fixed (IntPtr** region_ptr = region)
05561 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05562 fixed (IntPtr* @event_ptr = @event)
05563 {
05564 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05565 }
05566 }
05567
05568 [System.CLSCompliant(false)]
05569 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05570 public static
05571 unsafe int EnqueueReadImage(IntPtr command_queue, IntPtr image, bool blocking_read, IntPtr*[] origin, IntPtr*[] region, IntPtr row_pitch, IntPtr slice_pitch, IntPtr ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05572 {
05573 fixed (IntPtr** origin_ptr = origin)
05574 fixed (IntPtr** region_ptr = region)
05575 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05576 fixed (IntPtr* @event_ptr = @event)
05577 {
05578 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05579 }
05580 }
05581
05582 [System.CLSCompliant(false)]
05583 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05584 public static
05585 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05586 where T7 : struct
05587 {
05588 fixed (IntPtr** origin_ptr = &origin)
05589 fixed (IntPtr** region_ptr = ®ion)
05590 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05591 fixed (IntPtr* @event_ptr = &@event)
05592 {
05593 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05594 try
05595 {
05596 int retval = Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05597 ptr = (T7)ptr_ptr.Target;
05598 return retval;
05599 }
05600 finally
05601 {
05602 ptr_ptr.Free();
05603 }
05604 }
05605 }
05606
05607 [System.CLSCompliant(false)]
05608 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05609 public static
05610 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05611 where T7 : struct
05612 {
05613 fixed (IntPtr** origin_ptr = &origin)
05614 fixed (IntPtr** region_ptr = ®ion)
05615 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05616 fixed (IntPtr* @event_ptr = &@event)
05617 {
05618 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05619 try
05620 {
05621 int retval = Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05622 ptr = (T7)ptr_ptr.Target;
05623 return retval;
05624 }
05625 finally
05626 {
05627 ptr_ptr.Free();
05628 }
05629 }
05630 }
05631
05632 [System.CLSCompliant(false)]
05633 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05634 public static
05635 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05636 where T7 : struct
05637 {
05638 fixed (IntPtr** origin_ptr = &origin)
05639 fixed (IntPtr** region_ptr = ®ion)
05640 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05641 fixed (IntPtr* @event_ptr = &@event)
05642 {
05643 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05644 try
05645 {
05646 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05647 }
05648 finally
05649 {
05650 ptr_ptr.Free();
05651 }
05652 }
05653 }
05654
05655 [System.CLSCompliant(false)]
05656 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05657 public static
05658 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05659 where T7 : struct
05660 {
05661 fixed (IntPtr** origin_ptr = &origin)
05662 fixed (IntPtr** region_ptr = ®ion)
05663 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05664 fixed (IntPtr* @event_ptr = &@event)
05665 {
05666 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05667 try
05668 {
05669 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05670 }
05671 finally
05672 {
05673 ptr_ptr.Free();
05674 }
05675 }
05676 }
05677
05678 [System.CLSCompliant(false)]
05679 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05680 public static
05681 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05682 where T7 : struct
05683 {
05684 fixed (IntPtr** origin_ptr = &origin)
05685 fixed (IntPtr** region_ptr = ®ion)
05686 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05687 fixed (IntPtr* @event_ptr = &@event)
05688 {
05689 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05690 try
05691 {
05692 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05693 }
05694 finally
05695 {
05696 ptr_ptr.Free();
05697 }
05698 }
05699 }
05700
05701 [System.CLSCompliant(false)]
05702 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05703 public static
05704 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05705 where T7 : struct
05706 {
05707 fixed (IntPtr** origin_ptr = &origin)
05708 fixed (IntPtr** region_ptr = ®ion)
05709 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05710 fixed (IntPtr* @event_ptr = &@event)
05711 {
05712 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05713 try
05714 {
05715 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05716 }
05717 finally
05718 {
05719 ptr_ptr.Free();
05720 }
05721 }
05722 }
05723
05724 [System.CLSCompliant(false)]
05725 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05726 public static
05727 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05728 where T7 : struct
05729 {
05730 fixed (IntPtr** origin_ptr = &origin)
05731 fixed (IntPtr** region_ptr = ®ion)
05732 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05733 fixed (IntPtr* @event_ptr = &@event)
05734 {
05735 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05736 try
05737 {
05738 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05739 }
05740 finally
05741 {
05742 ptr_ptr.Free();
05743 }
05744 }
05745 }
05746
05747 [System.CLSCompliant(false)]
05748 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05749 public static
05750 unsafe int EnqueueReadImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, [InAttribute, OutAttribute] T7[] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05751 where T7 : struct
05752 {
05753 fixed (IntPtr** origin_ptr = &origin)
05754 fixed (IntPtr** region_ptr = ®ion)
05755 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05756 fixed (IntPtr* @event_ptr = &@event)
05757 {
05758 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
05759 try
05760 {
05761 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05762 }
05763 finally
05764 {
05765 ptr_ptr.Free();
05766 }
05767 }
05768 }
05769
05770 [System.CLSCompliant(false)]
05771 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05772 public static
05773 unsafe int EnqueueReadImage(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05774 {
05775 fixed (IntPtr** origin_ptr = &origin)
05776 fixed (IntPtr** region_ptr = ®ion)
05777 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05778 fixed (IntPtr* @event_ptr = &@event)
05779 {
05780 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05781 }
05782 }
05783
05784 [System.CLSCompliant(false)]
05785 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueReadImage")]
05786 public static
05787 unsafe int EnqueueReadImage(IntPtr command_queue, IntPtr image, bool blocking_read, ref IntPtr* origin, ref IntPtr* region, IntPtr row_pitch, IntPtr slice_pitch, IntPtr ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05788 {
05789 fixed (IntPtr** origin_ptr = &origin)
05790 fixed (IntPtr** region_ptr = ®ion)
05791 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05792 fixed (IntPtr* @event_ptr = &@event)
05793 {
05794 return Delegates.clEnqueueReadImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_read, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)row_pitch, (IntPtr)slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05795 }
05796 }
05797
05798 [System.CLSCompliant(false)]
05799 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueTask")]
05800 public static
05801 unsafe int EnqueueTask(IntPtr command_queue, IntPtr kernel, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05802 {
05803 return Delegates.clEnqueueTask((IntPtr)command_queue, (IntPtr)kernel, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05804 }
05805
05806 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueTask")]
05807 public static
05808 int EnqueueTask(IntPtr command_queue, IntPtr kernel, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05809 {
05810 unsafe
05811 {
05812 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05813 fixed (IntPtr* @event_ptr = @event)
05814 {
05815 return Delegates.clEnqueueTask((IntPtr)command_queue, (IntPtr)kernel, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05816 }
05817 }
05818 }
05819
05820 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueTask")]
05821 public static
05822 int EnqueueTask(IntPtr command_queue, IntPtr kernel, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05823 {
05824 unsafe
05825 {
05826 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05827 fixed (IntPtr* @event_ptr = &@event)
05828 {
05829 return Delegates.clEnqueueTask((IntPtr)command_queue, (IntPtr)kernel, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05830 }
05831 }
05832 }
05833
05834 [System.CLSCompliant(false)]
05835 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueTask")]
05836 public static
05837 unsafe int EnqueueTask(IntPtr command_queue, IntPtr kernel, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05838 {
05839 return Delegates.clEnqueueTask((IntPtr)command_queue, (IntPtr)kernel, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05840 }
05841
05842 [System.CLSCompliant(false)]
05843 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueTask")]
05844 public static
05845 int EnqueueTask(IntPtr command_queue, IntPtr kernel, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05846 {
05847 unsafe
05848 {
05849 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05850 fixed (IntPtr* @event_ptr = @event)
05851 {
05852 return Delegates.clEnqueueTask((IntPtr)command_queue, (IntPtr)kernel, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05853 }
05854 }
05855 }
05856
05857 [System.CLSCompliant(false)]
05858 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueTask")]
05859 public static
05860 int EnqueueTask(IntPtr command_queue, IntPtr kernel, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05861 {
05862 unsafe
05863 {
05864 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05865 fixed (IntPtr* @event_ptr = &@event)
05866 {
05867 return Delegates.clEnqueueTask((IntPtr)command_queue, (IntPtr)kernel, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05868 }
05869 }
05870 }
05871
05872 [System.CLSCompliant(false)]
05873 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
05874 public static
05875 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] ref T2 mapped_ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05876 where T2 : struct
05877 {
05878 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
05879 try
05880 {
05881 int retval = Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05882 mapped_ptr = (T2)mapped_ptr_ptr.Target;
05883 return retval;
05884 }
05885 finally
05886 {
05887 mapped_ptr_ptr.Free();
05888 }
05889 }
05890
05891 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
05892 public static
05893 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] ref T2 mapped_ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05894 where T2 : struct
05895 {
05896 unsafe
05897 {
05898 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05899 fixed (IntPtr* @event_ptr = @event)
05900 {
05901 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
05902 try
05903 {
05904 int retval = Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05905 mapped_ptr = (T2)mapped_ptr_ptr.Target;
05906 return retval;
05907 }
05908 finally
05909 {
05910 mapped_ptr_ptr.Free();
05911 }
05912 }
05913 }
05914 }
05915
05916 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
05917 public static
05918 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] ref T2 mapped_ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05919 where T2 : struct
05920 {
05921 unsafe
05922 {
05923 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05924 fixed (IntPtr* @event_ptr = &@event)
05925 {
05926 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
05927 try
05928 {
05929 int retval = Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05930 mapped_ptr = (T2)mapped_ptr_ptr.Target;
05931 return retval;
05932 }
05933 finally
05934 {
05935 mapped_ptr_ptr.Free();
05936 }
05937 }
05938 }
05939 }
05940
05941 [System.CLSCompliant(false)]
05942 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
05943 public static
05944 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] ref T2 mapped_ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
05945 where T2 : struct
05946 {
05947 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
05948 try
05949 {
05950 int retval = Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
05951 mapped_ptr = (T2)mapped_ptr_ptr.Target;
05952 return retval;
05953 }
05954 finally
05955 {
05956 mapped_ptr_ptr.Free();
05957 }
05958 }
05959
05960 [System.CLSCompliant(false)]
05961 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
05962 public static
05963 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] ref T2 mapped_ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
05964 where T2 : struct
05965 {
05966 unsafe
05967 {
05968 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
05969 fixed (IntPtr* @event_ptr = @event)
05970 {
05971 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
05972 try
05973 {
05974 int retval = Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
05975 mapped_ptr = (T2)mapped_ptr_ptr.Target;
05976 return retval;
05977 }
05978 finally
05979 {
05980 mapped_ptr_ptr.Free();
05981 }
05982 }
05983 }
05984 }
05985
05986 [System.CLSCompliant(false)]
05987 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
05988 public static
05989 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] ref T2 mapped_ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
05990 where T2 : struct
05991 {
05992 unsafe
05993 {
05994 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
05995 fixed (IntPtr* @event_ptr = &@event)
05996 {
05997 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
05998 try
05999 {
06000 int retval = Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06001 mapped_ptr = (T2)mapped_ptr_ptr.Target;
06002 return retval;
06003 }
06004 finally
06005 {
06006 mapped_ptr_ptr.Free();
06007 }
06008 }
06009 }
06010 }
06011
06012 [System.CLSCompliant(false)]
06013 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06014 public static
06015 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,,] mapped_ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06016 where T2 : struct
06017 {
06018 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06019 try
06020 {
06021 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06022 }
06023 finally
06024 {
06025 mapped_ptr_ptr.Free();
06026 }
06027 }
06028
06029 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06030 public static
06031 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,,] mapped_ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06032 where T2 : struct
06033 {
06034 unsafe
06035 {
06036 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06037 fixed (IntPtr* @event_ptr = @event)
06038 {
06039 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06040 try
06041 {
06042 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06043 }
06044 finally
06045 {
06046 mapped_ptr_ptr.Free();
06047 }
06048 }
06049 }
06050 }
06051
06052 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06053 public static
06054 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,,] mapped_ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06055 where T2 : struct
06056 {
06057 unsafe
06058 {
06059 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06060 fixed (IntPtr* @event_ptr = &@event)
06061 {
06062 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06063 try
06064 {
06065 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06066 }
06067 finally
06068 {
06069 mapped_ptr_ptr.Free();
06070 }
06071 }
06072 }
06073 }
06074
06075 [System.CLSCompliant(false)]
06076 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06077 public static
06078 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,,] mapped_ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06079 where T2 : struct
06080 {
06081 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06082 try
06083 {
06084 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06085 }
06086 finally
06087 {
06088 mapped_ptr_ptr.Free();
06089 }
06090 }
06091
06092 [System.CLSCompliant(false)]
06093 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06094 public static
06095 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,,] mapped_ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06096 where T2 : struct
06097 {
06098 unsafe
06099 {
06100 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06101 fixed (IntPtr* @event_ptr = @event)
06102 {
06103 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06104 try
06105 {
06106 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06107 }
06108 finally
06109 {
06110 mapped_ptr_ptr.Free();
06111 }
06112 }
06113 }
06114 }
06115
06116 [System.CLSCompliant(false)]
06117 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06118 public static
06119 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,,] mapped_ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06120 where T2 : struct
06121 {
06122 unsafe
06123 {
06124 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06125 fixed (IntPtr* @event_ptr = &@event)
06126 {
06127 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06128 try
06129 {
06130 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06131 }
06132 finally
06133 {
06134 mapped_ptr_ptr.Free();
06135 }
06136 }
06137 }
06138 }
06139
06140 [System.CLSCompliant(false)]
06141 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06142 public static
06143 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,] mapped_ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06144 where T2 : struct
06145 {
06146 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06147 try
06148 {
06149 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06150 }
06151 finally
06152 {
06153 mapped_ptr_ptr.Free();
06154 }
06155 }
06156
06157 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06158 public static
06159 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,] mapped_ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06160 where T2 : struct
06161 {
06162 unsafe
06163 {
06164 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06165 fixed (IntPtr* @event_ptr = @event)
06166 {
06167 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06168 try
06169 {
06170 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06171 }
06172 finally
06173 {
06174 mapped_ptr_ptr.Free();
06175 }
06176 }
06177 }
06178 }
06179
06180 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06181 public static
06182 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,] mapped_ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06183 where T2 : struct
06184 {
06185 unsafe
06186 {
06187 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06188 fixed (IntPtr* @event_ptr = &@event)
06189 {
06190 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06191 try
06192 {
06193 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06194 }
06195 finally
06196 {
06197 mapped_ptr_ptr.Free();
06198 }
06199 }
06200 }
06201 }
06202
06203 [System.CLSCompliant(false)]
06204 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06205 public static
06206 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,] mapped_ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06207 where T2 : struct
06208 {
06209 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06210 try
06211 {
06212 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06213 }
06214 finally
06215 {
06216 mapped_ptr_ptr.Free();
06217 }
06218 }
06219
06220 [System.CLSCompliant(false)]
06221 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06222 public static
06223 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,] mapped_ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06224 where T2 : struct
06225 {
06226 unsafe
06227 {
06228 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06229 fixed (IntPtr* @event_ptr = @event)
06230 {
06231 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06232 try
06233 {
06234 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06235 }
06236 finally
06237 {
06238 mapped_ptr_ptr.Free();
06239 }
06240 }
06241 }
06242 }
06243
06244 [System.CLSCompliant(false)]
06245 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06246 public static
06247 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[,] mapped_ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06248 where T2 : struct
06249 {
06250 unsafe
06251 {
06252 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06253 fixed (IntPtr* @event_ptr = &@event)
06254 {
06255 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06256 try
06257 {
06258 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06259 }
06260 finally
06261 {
06262 mapped_ptr_ptr.Free();
06263 }
06264 }
06265 }
06266 }
06267
06268 [System.CLSCompliant(false)]
06269 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06270 public static
06271 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[] mapped_ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06272 where T2 : struct
06273 {
06274 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06275 try
06276 {
06277 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06278 }
06279 finally
06280 {
06281 mapped_ptr_ptr.Free();
06282 }
06283 }
06284
06285 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06286 public static
06287 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[] mapped_ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06288 where T2 : struct
06289 {
06290 unsafe
06291 {
06292 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06293 fixed (IntPtr* @event_ptr = @event)
06294 {
06295 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06296 try
06297 {
06298 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06299 }
06300 finally
06301 {
06302 mapped_ptr_ptr.Free();
06303 }
06304 }
06305 }
06306 }
06307
06308 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06309 public static
06310 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[] mapped_ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06311 where T2 : struct
06312 {
06313 unsafe
06314 {
06315 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06316 fixed (IntPtr* @event_ptr = &@event)
06317 {
06318 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06319 try
06320 {
06321 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06322 }
06323 finally
06324 {
06325 mapped_ptr_ptr.Free();
06326 }
06327 }
06328 }
06329 }
06330
06331 [System.CLSCompliant(false)]
06332 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06333 public static
06334 unsafe int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[] mapped_ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06335 where T2 : struct
06336 {
06337 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06338 try
06339 {
06340 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06341 }
06342 finally
06343 {
06344 mapped_ptr_ptr.Free();
06345 }
06346 }
06347
06348 [System.CLSCompliant(false)]
06349 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06350 public static
06351 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[] mapped_ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06352 where T2 : struct
06353 {
06354 unsafe
06355 {
06356 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06357 fixed (IntPtr* @event_ptr = @event)
06358 {
06359 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06360 try
06361 {
06362 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06363 }
06364 finally
06365 {
06366 mapped_ptr_ptr.Free();
06367 }
06368 }
06369 }
06370 }
06371
06372 [System.CLSCompliant(false)]
06373 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06374 public static
06375 int EnqueueUnmapMemObject<T2>(IntPtr command_queue, IntPtr memobj, [InAttribute, OutAttribute] T2[] mapped_ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06376 where T2 : struct
06377 {
06378 unsafe
06379 {
06380 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06381 fixed (IntPtr* @event_ptr = &@event)
06382 {
06383 GCHandle mapped_ptr_ptr = GCHandle.Alloc(mapped_ptr, GCHandleType.Pinned);
06384 try
06385 {
06386 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06387 }
06388 finally
06389 {
06390 mapped_ptr_ptr.Free();
06391 }
06392 }
06393 }
06394 }
06395
06396 [System.CLSCompliant(false)]
06397 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06398 public static
06399 unsafe int EnqueueUnmapMemObject(IntPtr command_queue, IntPtr memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06400 {
06401 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06402 }
06403
06404 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06405 public static
06406 int EnqueueUnmapMemObject(IntPtr command_queue, IntPtr memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06407 {
06408 unsafe
06409 {
06410 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06411 fixed (IntPtr* @event_ptr = @event)
06412 {
06413 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06414 }
06415 }
06416 }
06417
06418 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06419 public static
06420 int EnqueueUnmapMemObject(IntPtr command_queue, IntPtr memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06421 {
06422 unsafe
06423 {
06424 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06425 fixed (IntPtr* @event_ptr = &@event)
06426 {
06427 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06428 }
06429 }
06430 }
06431
06432 [System.CLSCompliant(false)]
06433 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06434 public static
06435 unsafe int EnqueueUnmapMemObject(IntPtr command_queue, IntPtr memobj, IntPtr mapped_ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06436 {
06437 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06438 }
06439
06440 [System.CLSCompliant(false)]
06441 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06442 public static
06443 int EnqueueUnmapMemObject(IntPtr command_queue, IntPtr memobj, IntPtr mapped_ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06444 {
06445 unsafe
06446 {
06447 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06448 fixed (IntPtr* @event_ptr = @event)
06449 {
06450 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06451 }
06452 }
06453 }
06454
06455 [System.CLSCompliant(false)]
06456 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueUnmapMemObject")]
06457 public static
06458 int EnqueueUnmapMemObject(IntPtr command_queue, IntPtr memobj, IntPtr mapped_ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06459 {
06460 unsafe
06461 {
06462 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06463 fixed (IntPtr* @event_ptr = &@event)
06464 {
06465 return Delegates.clEnqueueUnmapMemObject((IntPtr)command_queue, (IntPtr)memobj, (IntPtr)mapped_ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06466 }
06467 }
06468 }
06469
06470 [System.CLSCompliant(false)]
06471 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWaitForEvents")]
06472 public static
06473 unsafe int EnqueueWaitForEvents(IntPtr command_queue, Int32 num_events, IntPtr* event_list)
06474 {
06475 return Delegates.clEnqueueWaitForEvents((IntPtr)command_queue, (uint)num_events, (IntPtr*)event_list);
06476 }
06477
06478 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWaitForEvents")]
06479 public static
06480 int EnqueueWaitForEvents(IntPtr command_queue, Int32 num_events, IntPtr[] event_list)
06481 {
06482 unsafe
06483 {
06484 fixed (IntPtr* event_list_ptr = event_list)
06485 {
06486 return Delegates.clEnqueueWaitForEvents((IntPtr)command_queue, (uint)num_events, (IntPtr*)event_list_ptr);
06487 }
06488 }
06489 }
06490
06491 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWaitForEvents")]
06492 public static
06493 int EnqueueWaitForEvents(IntPtr command_queue, Int32 num_events, ref IntPtr event_list)
06494 {
06495 unsafe
06496 {
06497 fixed (IntPtr* event_list_ptr = &event_list)
06498 {
06499 return Delegates.clEnqueueWaitForEvents((IntPtr)command_queue, (uint)num_events, (IntPtr*)event_list_ptr);
06500 }
06501 }
06502 }
06503
06504 [System.CLSCompliant(false)]
06505 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWaitForEvents")]
06506 public static
06507 unsafe int EnqueueWaitForEvents(IntPtr command_queue, uint num_events, IntPtr* event_list)
06508 {
06509 return Delegates.clEnqueueWaitForEvents((IntPtr)command_queue, (uint)num_events, (IntPtr*)event_list);
06510 }
06511
06512 [System.CLSCompliant(false)]
06513 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWaitForEvents")]
06514 public static
06515 int EnqueueWaitForEvents(IntPtr command_queue, uint num_events, IntPtr[] event_list)
06516 {
06517 unsafe
06518 {
06519 fixed (IntPtr* event_list_ptr = event_list)
06520 {
06521 return Delegates.clEnqueueWaitForEvents((IntPtr)command_queue, (uint)num_events, (IntPtr*)event_list_ptr);
06522 }
06523 }
06524 }
06525
06526 [System.CLSCompliant(false)]
06527 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWaitForEvents")]
06528 public static
06529 int EnqueueWaitForEvents(IntPtr command_queue, uint num_events, ref IntPtr event_list)
06530 {
06531 unsafe
06532 {
06533 fixed (IntPtr* event_list_ptr = &event_list)
06534 {
06535 return Delegates.clEnqueueWaitForEvents((IntPtr)command_queue, (uint)num_events, (IntPtr*)event_list_ptr);
06536 }
06537 }
06538 }
06539
06540 [System.CLSCompliant(false)]
06541 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06542 public static
06543 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06544 where T5 : struct
06545 {
06546 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06547 try
06548 {
06549 int retval = Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06550 ptr = (T5)ptr_ptr.Target;
06551 return retval;
06552 }
06553 finally
06554 {
06555 ptr_ptr.Free();
06556 }
06557 }
06558
06559 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06560 public static
06561 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06562 where T5 : struct
06563 {
06564 unsafe
06565 {
06566 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06567 fixed (IntPtr* @event_ptr = @event)
06568 {
06569 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06570 try
06571 {
06572 int retval = Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06573 ptr = (T5)ptr_ptr.Target;
06574 return retval;
06575 }
06576 finally
06577 {
06578 ptr_ptr.Free();
06579 }
06580 }
06581 }
06582 }
06583
06584 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06585 public static
06586 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06587 where T5 : struct
06588 {
06589 unsafe
06590 {
06591 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06592 fixed (IntPtr* @event_ptr = &@event)
06593 {
06594 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06595 try
06596 {
06597 int retval = Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06598 ptr = (T5)ptr_ptr.Target;
06599 return retval;
06600 }
06601 finally
06602 {
06603 ptr_ptr.Free();
06604 }
06605 }
06606 }
06607 }
06608
06609 [System.CLSCompliant(false)]
06610 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06611 public static
06612 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06613 where T5 : struct
06614 {
06615 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06616 try
06617 {
06618 int retval = Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06619 ptr = (T5)ptr_ptr.Target;
06620 return retval;
06621 }
06622 finally
06623 {
06624 ptr_ptr.Free();
06625 }
06626 }
06627
06628 [System.CLSCompliant(false)]
06629 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06630 public static
06631 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06632 where T5 : struct
06633 {
06634 unsafe
06635 {
06636 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06637 fixed (IntPtr* @event_ptr = @event)
06638 {
06639 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06640 try
06641 {
06642 int retval = Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06643 ptr = (T5)ptr_ptr.Target;
06644 return retval;
06645 }
06646 finally
06647 {
06648 ptr_ptr.Free();
06649 }
06650 }
06651 }
06652 }
06653
06654 [System.CLSCompliant(false)]
06655 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06656 public static
06657 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] ref T5 ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06658 where T5 : struct
06659 {
06660 unsafe
06661 {
06662 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06663 fixed (IntPtr* @event_ptr = &@event)
06664 {
06665 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06666 try
06667 {
06668 int retval = Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06669 ptr = (T5)ptr_ptr.Target;
06670 return retval;
06671 }
06672 finally
06673 {
06674 ptr_ptr.Free();
06675 }
06676 }
06677 }
06678 }
06679
06680 [System.CLSCompliant(false)]
06681 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06682 public static
06683 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06684 where T5 : struct
06685 {
06686 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06687 try
06688 {
06689 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06690 }
06691 finally
06692 {
06693 ptr_ptr.Free();
06694 }
06695 }
06696
06697 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06698 public static
06699 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06700 where T5 : struct
06701 {
06702 unsafe
06703 {
06704 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06705 fixed (IntPtr* @event_ptr = @event)
06706 {
06707 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06708 try
06709 {
06710 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06711 }
06712 finally
06713 {
06714 ptr_ptr.Free();
06715 }
06716 }
06717 }
06718 }
06719
06720 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06721 public static
06722 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06723 where T5 : struct
06724 {
06725 unsafe
06726 {
06727 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06728 fixed (IntPtr* @event_ptr = &@event)
06729 {
06730 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06731 try
06732 {
06733 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06734 }
06735 finally
06736 {
06737 ptr_ptr.Free();
06738 }
06739 }
06740 }
06741 }
06742
06743 [System.CLSCompliant(false)]
06744 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06745 public static
06746 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06747 where T5 : struct
06748 {
06749 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06750 try
06751 {
06752 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06753 }
06754 finally
06755 {
06756 ptr_ptr.Free();
06757 }
06758 }
06759
06760 [System.CLSCompliant(false)]
06761 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06762 public static
06763 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06764 where T5 : struct
06765 {
06766 unsafe
06767 {
06768 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06769 fixed (IntPtr* @event_ptr = @event)
06770 {
06771 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06772 try
06773 {
06774 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06775 }
06776 finally
06777 {
06778 ptr_ptr.Free();
06779 }
06780 }
06781 }
06782 }
06783
06784 [System.CLSCompliant(false)]
06785 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06786 public static
06787 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06788 where T5 : struct
06789 {
06790 unsafe
06791 {
06792 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06793 fixed (IntPtr* @event_ptr = &@event)
06794 {
06795 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06796 try
06797 {
06798 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06799 }
06800 finally
06801 {
06802 ptr_ptr.Free();
06803 }
06804 }
06805 }
06806 }
06807
06808 [System.CLSCompliant(false)]
06809 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06810 public static
06811 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06812 where T5 : struct
06813 {
06814 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06815 try
06816 {
06817 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06818 }
06819 finally
06820 {
06821 ptr_ptr.Free();
06822 }
06823 }
06824
06825 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06826 public static
06827 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06828 where T5 : struct
06829 {
06830 unsafe
06831 {
06832 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06833 fixed (IntPtr* @event_ptr = @event)
06834 {
06835 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06836 try
06837 {
06838 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06839 }
06840 finally
06841 {
06842 ptr_ptr.Free();
06843 }
06844 }
06845 }
06846 }
06847
06848 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06849 public static
06850 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06851 where T5 : struct
06852 {
06853 unsafe
06854 {
06855 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06856 fixed (IntPtr* @event_ptr = &@event)
06857 {
06858 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06859 try
06860 {
06861 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06862 }
06863 finally
06864 {
06865 ptr_ptr.Free();
06866 }
06867 }
06868 }
06869 }
06870
06871 [System.CLSCompliant(false)]
06872 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06873 public static
06874 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06875 where T5 : struct
06876 {
06877 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06878 try
06879 {
06880 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06881 }
06882 finally
06883 {
06884 ptr_ptr.Free();
06885 }
06886 }
06887
06888 [System.CLSCompliant(false)]
06889 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06890 public static
06891 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06892 where T5 : struct
06893 {
06894 unsafe
06895 {
06896 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06897 fixed (IntPtr* @event_ptr = @event)
06898 {
06899 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06900 try
06901 {
06902 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06903 }
06904 finally
06905 {
06906 ptr_ptr.Free();
06907 }
06908 }
06909 }
06910 }
06911
06912 [System.CLSCompliant(false)]
06913 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06914 public static
06915 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06916 where T5 : struct
06917 {
06918 unsafe
06919 {
06920 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06921 fixed (IntPtr* @event_ptr = &@event)
06922 {
06923 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06924 try
06925 {
06926 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06927 }
06928 finally
06929 {
06930 ptr_ptr.Free();
06931 }
06932 }
06933 }
06934 }
06935
06936 [System.CLSCompliant(false)]
06937 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06938 public static
06939 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
06940 where T5 : struct
06941 {
06942 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06943 try
06944 {
06945 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
06946 }
06947 finally
06948 {
06949 ptr_ptr.Free();
06950 }
06951 }
06952
06953 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06954 public static
06955 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
06956 where T5 : struct
06957 {
06958 unsafe
06959 {
06960 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
06961 fixed (IntPtr* @event_ptr = @event)
06962 {
06963 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06964 try
06965 {
06966 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06967 }
06968 finally
06969 {
06970 ptr_ptr.Free();
06971 }
06972 }
06973 }
06974 }
06975
06976 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
06977 public static
06978 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
06979 where T5 : struct
06980 {
06981 unsafe
06982 {
06983 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
06984 fixed (IntPtr* @event_ptr = &@event)
06985 {
06986 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
06987 try
06988 {
06989 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
06990 }
06991 finally
06992 {
06993 ptr_ptr.Free();
06994 }
06995 }
06996 }
06997 }
06998
06999 [System.CLSCompliant(false)]
07000 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07001 public static
07002 unsafe int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07003 where T5 : struct
07004 {
07005 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07006 try
07007 {
07008 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07009 }
07010 finally
07011 {
07012 ptr_ptr.Free();
07013 }
07014 }
07015
07016 [System.CLSCompliant(false)]
07017 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07018 public static
07019 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07020 where T5 : struct
07021 {
07022 unsafe
07023 {
07024 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07025 fixed (IntPtr* @event_ptr = @event)
07026 {
07027 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07028 try
07029 {
07030 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07031 }
07032 finally
07033 {
07034 ptr_ptr.Free();
07035 }
07036 }
07037 }
07038 }
07039
07040 [System.CLSCompliant(false)]
07041 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07042 public static
07043 int EnqueueWriteBuffer<T5>(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, [InAttribute, OutAttribute] T5[] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07044 where T5 : struct
07045 {
07046 unsafe
07047 {
07048 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07049 fixed (IntPtr* @event_ptr = &@event)
07050 {
07051 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07052 try
07053 {
07054 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07055 }
07056 finally
07057 {
07058 ptr_ptr.Free();
07059 }
07060 }
07061 }
07062 }
07063
07064 [System.CLSCompliant(false)]
07065 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07066 public static
07067 unsafe int EnqueueWriteBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07068 {
07069 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07070 }
07071
07072 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07073 public static
07074 int EnqueueWriteBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07075 {
07076 unsafe
07077 {
07078 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07079 fixed (IntPtr* @event_ptr = @event)
07080 {
07081 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07082 }
07083 }
07084 }
07085
07086 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07087 public static
07088 int EnqueueWriteBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07089 {
07090 unsafe
07091 {
07092 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07093 fixed (IntPtr* @event_ptr = &@event)
07094 {
07095 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07096 }
07097 }
07098 }
07099
07100 [System.CLSCompliant(false)]
07101 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07102 public static
07103 unsafe int EnqueueWriteBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07104 {
07105 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07106 }
07107
07108 [System.CLSCompliant(false)]
07109 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07110 public static
07111 int EnqueueWriteBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07112 {
07113 unsafe
07114 {
07115 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07116 fixed (IntPtr* @event_ptr = @event)
07117 {
07118 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07119 }
07120 }
07121 }
07122
07123 [System.CLSCompliant(false)]
07124 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteBuffer")]
07125 public static
07126 int EnqueueWriteBuffer(IntPtr command_queue, IntPtr buffer, bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07127 {
07128 unsafe
07129 {
07130 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07131 fixed (IntPtr* @event_ptr = &@event)
07132 {
07133 return Delegates.clEnqueueWriteBuffer((IntPtr)command_queue, (IntPtr)buffer, (bool)blocking_write, (IntPtr)offset, (IntPtr)cb, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07134 }
07135 }
07136 }
07137
07138 [System.CLSCompliant(false)]
07139 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07140 public static
07141 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07142 where T7 : struct
07143 {
07144 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07145 try
07146 {
07147 int retval = Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07148 ptr = (T7)ptr_ptr.Target;
07149 return retval;
07150 }
07151 finally
07152 {
07153 ptr_ptr.Free();
07154 }
07155 }
07156
07157 [System.CLSCompliant(false)]
07158 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07159 public static
07160 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07161 where T7 : struct
07162 {
07163 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07164 try
07165 {
07166 int retval = Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07167 ptr = (T7)ptr_ptr.Target;
07168 return retval;
07169 }
07170 finally
07171 {
07172 ptr_ptr.Free();
07173 }
07174 }
07175
07176 [System.CLSCompliant(false)]
07177 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07178 public static
07179 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07180 where T7 : struct
07181 {
07182 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07183 try
07184 {
07185 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07186 }
07187 finally
07188 {
07189 ptr_ptr.Free();
07190 }
07191 }
07192
07193 [System.CLSCompliant(false)]
07194 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07195 public static
07196 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07197 where T7 : struct
07198 {
07199 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07200 try
07201 {
07202 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07203 }
07204 finally
07205 {
07206 ptr_ptr.Free();
07207 }
07208 }
07209
07210 [System.CLSCompliant(false)]
07211 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07212 public static
07213 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07214 where T7 : struct
07215 {
07216 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07217 try
07218 {
07219 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07220 }
07221 finally
07222 {
07223 ptr_ptr.Free();
07224 }
07225 }
07226
07227 [System.CLSCompliant(false)]
07228 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07229 public static
07230 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07231 where T7 : struct
07232 {
07233 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07234 try
07235 {
07236 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07237 }
07238 finally
07239 {
07240 ptr_ptr.Free();
07241 }
07242 }
07243
07244 [System.CLSCompliant(false)]
07245 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07246 public static
07247 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[] ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07248 where T7 : struct
07249 {
07250 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07251 try
07252 {
07253 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07254 }
07255 finally
07256 {
07257 ptr_ptr.Free();
07258 }
07259 }
07260
07261 [System.CLSCompliant(false)]
07262 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07263 public static
07264 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[] ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07265 where T7 : struct
07266 {
07267 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07268 try
07269 {
07270 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07271 }
07272 finally
07273 {
07274 ptr_ptr.Free();
07275 }
07276 }
07277
07278 [System.CLSCompliant(false)]
07279 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07280 public static
07281 unsafe int EnqueueWriteImage(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07282 {
07283 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07284 }
07285
07286 [System.CLSCompliant(false)]
07287 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07288 public static
07289 unsafe int EnqueueWriteImage(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr** origin, IntPtr** region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, uint num_events_in_wait_list, IntPtr* event_wait_list, IntPtr* @event)
07290 {
07291 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin, (IntPtr**)region, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list, (IntPtr*)@event);
07292 }
07293
07294 [System.CLSCompliant(false)]
07295 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07296 public static
07297 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07298 where T7 : struct
07299 {
07300 fixed (IntPtr** origin_ptr = origin)
07301 fixed (IntPtr** region_ptr = region)
07302 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07303 fixed (IntPtr* @event_ptr = @event)
07304 {
07305 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07306 try
07307 {
07308 int retval = Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07309 ptr = (T7)ptr_ptr.Target;
07310 return retval;
07311 }
07312 finally
07313 {
07314 ptr_ptr.Free();
07315 }
07316 }
07317 }
07318
07319 [System.CLSCompliant(false)]
07320 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07321 public static
07322 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07323 where T7 : struct
07324 {
07325 fixed (IntPtr** origin_ptr = origin)
07326 fixed (IntPtr** region_ptr = region)
07327 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07328 fixed (IntPtr* @event_ptr = @event)
07329 {
07330 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07331 try
07332 {
07333 int retval = Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07334 ptr = (T7)ptr_ptr.Target;
07335 return retval;
07336 }
07337 finally
07338 {
07339 ptr_ptr.Free();
07340 }
07341 }
07342 }
07343
07344 [System.CLSCompliant(false)]
07345 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07346 public static
07347 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07348 where T7 : struct
07349 {
07350 fixed (IntPtr** origin_ptr = origin)
07351 fixed (IntPtr** region_ptr = region)
07352 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07353 fixed (IntPtr* @event_ptr = @event)
07354 {
07355 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07356 try
07357 {
07358 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07359 }
07360 finally
07361 {
07362 ptr_ptr.Free();
07363 }
07364 }
07365 }
07366
07367 [System.CLSCompliant(false)]
07368 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07369 public static
07370 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07371 where T7 : struct
07372 {
07373 fixed (IntPtr** origin_ptr = origin)
07374 fixed (IntPtr** region_ptr = region)
07375 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07376 fixed (IntPtr* @event_ptr = @event)
07377 {
07378 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07379 try
07380 {
07381 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07382 }
07383 finally
07384 {
07385 ptr_ptr.Free();
07386 }
07387 }
07388 }
07389
07390 [System.CLSCompliant(false)]
07391 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07392 public static
07393 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07394 where T7 : struct
07395 {
07396 fixed (IntPtr** origin_ptr = origin)
07397 fixed (IntPtr** region_ptr = region)
07398 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07399 fixed (IntPtr* @event_ptr = @event)
07400 {
07401 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07402 try
07403 {
07404 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07405 }
07406 finally
07407 {
07408 ptr_ptr.Free();
07409 }
07410 }
07411 }
07412
07413 [System.CLSCompliant(false)]
07414 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07415 public static
07416 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07417 where T7 : struct
07418 {
07419 fixed (IntPtr** origin_ptr = origin)
07420 fixed (IntPtr** region_ptr = region)
07421 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07422 fixed (IntPtr* @event_ptr = @event)
07423 {
07424 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07425 try
07426 {
07427 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07428 }
07429 finally
07430 {
07431 ptr_ptr.Free();
07432 }
07433 }
07434 }
07435
07436 [System.CLSCompliant(false)]
07437 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07438 public static
07439 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[] ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07440 where T7 : struct
07441 {
07442 fixed (IntPtr** origin_ptr = origin)
07443 fixed (IntPtr** region_ptr = region)
07444 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07445 fixed (IntPtr* @event_ptr = @event)
07446 {
07447 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07448 try
07449 {
07450 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07451 }
07452 finally
07453 {
07454 ptr_ptr.Free();
07455 }
07456 }
07457 }
07458
07459 [System.CLSCompliant(false)]
07460 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07461 public static
07462 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[] ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07463 where T7 : struct
07464 {
07465 fixed (IntPtr** origin_ptr = origin)
07466 fixed (IntPtr** region_ptr = region)
07467 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07468 fixed (IntPtr* @event_ptr = @event)
07469 {
07470 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07471 try
07472 {
07473 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07474 }
07475 finally
07476 {
07477 ptr_ptr.Free();
07478 }
07479 }
07480 }
07481
07482 [System.CLSCompliant(false)]
07483 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07484 public static
07485 unsafe int EnqueueWriteImage(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07486 {
07487 fixed (IntPtr** origin_ptr = origin)
07488 fixed (IntPtr** region_ptr = region)
07489 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07490 fixed (IntPtr* @event_ptr = @event)
07491 {
07492 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07493 }
07494 }
07495
07496 [System.CLSCompliant(false)]
07497 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07498 public static
07499 unsafe int EnqueueWriteImage(IntPtr command_queue, IntPtr image, bool blocking_write, IntPtr*[] origin, IntPtr*[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, uint num_events_in_wait_list, IntPtr[] event_wait_list, IntPtr[] @event)
07500 {
07501 fixed (IntPtr** origin_ptr = origin)
07502 fixed (IntPtr** region_ptr = region)
07503 fixed (IntPtr* event_wait_list_ptr = event_wait_list)
07504 fixed (IntPtr* @event_ptr = @event)
07505 {
07506 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07507 }
07508 }
07509
07510 [System.CLSCompliant(false)]
07511 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07512 public static
07513 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07514 where T7 : struct
07515 {
07516 fixed (IntPtr** origin_ptr = &origin)
07517 fixed (IntPtr** region_ptr = ®ion)
07518 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07519 fixed (IntPtr* @event_ptr = &@event)
07520 {
07521 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07522 try
07523 {
07524 int retval = Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07525 ptr = (T7)ptr_ptr.Target;
07526 return retval;
07527 }
07528 finally
07529 {
07530 ptr_ptr.Free();
07531 }
07532 }
07533 }
07534
07535 [System.CLSCompliant(false)]
07536 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07537 public static
07538 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] ref T7 ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07539 where T7 : struct
07540 {
07541 fixed (IntPtr** origin_ptr = &origin)
07542 fixed (IntPtr** region_ptr = ®ion)
07543 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07544 fixed (IntPtr* @event_ptr = &@event)
07545 {
07546 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07547 try
07548 {
07549 int retval = Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07550 ptr = (T7)ptr_ptr.Target;
07551 return retval;
07552 }
07553 finally
07554 {
07555 ptr_ptr.Free();
07556 }
07557 }
07558 }
07559
07560 [System.CLSCompliant(false)]
07561 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07562 public static
07563 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07564 where T7 : struct
07565 {
07566 fixed (IntPtr** origin_ptr = &origin)
07567 fixed (IntPtr** region_ptr = ®ion)
07568 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07569 fixed (IntPtr* @event_ptr = &@event)
07570 {
07571 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07572 try
07573 {
07574 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07575 }
07576 finally
07577 {
07578 ptr_ptr.Free();
07579 }
07580 }
07581 }
07582
07583 [System.CLSCompliant(false)]
07584 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07585 public static
07586 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07587 where T7 : struct
07588 {
07589 fixed (IntPtr** origin_ptr = &origin)
07590 fixed (IntPtr** region_ptr = ®ion)
07591 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07592 fixed (IntPtr* @event_ptr = &@event)
07593 {
07594 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07595 try
07596 {
07597 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07598 }
07599 finally
07600 {
07601 ptr_ptr.Free();
07602 }
07603 }
07604 }
07605
07606 [System.CLSCompliant(false)]
07607 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07608 public static
07609 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07610 where T7 : struct
07611 {
07612 fixed (IntPtr** origin_ptr = &origin)
07613 fixed (IntPtr** region_ptr = ®ion)
07614 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07615 fixed (IntPtr* @event_ptr = &@event)
07616 {
07617 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07618 try
07619 {
07620 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07621 }
07622 finally
07623 {
07624 ptr_ptr.Free();
07625 }
07626 }
07627 }
07628
07629 [System.CLSCompliant(false)]
07630 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07631 public static
07632 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[,] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07633 where T7 : struct
07634 {
07635 fixed (IntPtr** origin_ptr = &origin)
07636 fixed (IntPtr** region_ptr = ®ion)
07637 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07638 fixed (IntPtr* @event_ptr = &@event)
07639 {
07640 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07641 try
07642 {
07643 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07644 }
07645 finally
07646 {
07647 ptr_ptr.Free();
07648 }
07649 }
07650 }
07651
07652 [System.CLSCompliant(false)]
07653 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07654 public static
07655 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[] ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07656 where T7 : struct
07657 {
07658 fixed (IntPtr** origin_ptr = &origin)
07659 fixed (IntPtr** region_ptr = ®ion)
07660 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07661 fixed (IntPtr* @event_ptr = &@event)
07662 {
07663 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07664 try
07665 {
07666 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07667 }
07668 finally
07669 {
07670 ptr_ptr.Free();
07671 }
07672 }
07673 }
07674
07675 [System.CLSCompliant(false)]
07676 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07677 public static
07678 unsafe int EnqueueWriteImage<T7>(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, [InAttribute, OutAttribute] T7[] ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07679 where T7 : struct
07680 {
07681 fixed (IntPtr** origin_ptr = &origin)
07682 fixed (IntPtr** region_ptr = ®ion)
07683 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07684 fixed (IntPtr* @event_ptr = &@event)
07685 {
07686 GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
07687 try
07688 {
07689 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr_ptr.AddrOfPinnedObject(), (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07690 }
07691 finally
07692 {
07693 ptr_ptr.Free();
07694 }
07695 }
07696 }
07697
07698 [System.CLSCompliant(false)]
07699 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07700 public static
07701 unsafe int EnqueueWriteImage(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07702 {
07703 fixed (IntPtr** origin_ptr = &origin)
07704 fixed (IntPtr** region_ptr = ®ion)
07705 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07706 fixed (IntPtr* @event_ptr = &@event)
07707 {
07708 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07709 }
07710 }
07711
07712 [System.CLSCompliant(false)]
07713 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clEnqueueWriteImage")]
07714 public static
07715 unsafe int EnqueueWriteImage(IntPtr command_queue, IntPtr image, bool blocking_write, ref IntPtr* origin, ref IntPtr* region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, uint num_events_in_wait_list, ref IntPtr event_wait_list, ref IntPtr @event)
07716 {
07717 fixed (IntPtr** origin_ptr = &origin)
07718 fixed (IntPtr** region_ptr = ®ion)
07719 fixed (IntPtr* event_wait_list_ptr = &event_wait_list)
07720 fixed (IntPtr* @event_ptr = &@event)
07721 {
07722 return Delegates.clEnqueueWriteImage((IntPtr)command_queue, (IntPtr)image, (bool)blocking_write, (IntPtr**)origin_ptr, (IntPtr**)region_ptr, (IntPtr)input_row_pitch, (IntPtr)input_slice_pitch, (IntPtr)ptr, (uint)num_events_in_wait_list, (IntPtr*)event_wait_list_ptr, (IntPtr*)@event_ptr);
07723 }
07724 }
07725
07726 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clFinish")]
07727 public static
07728 int Finish(IntPtr command_queue)
07729 {
07730 return Delegates.clFinish((IntPtr)command_queue);
07731 }
07732
07733 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clFlush")]
07734 public static
07735 int Flush(IntPtr command_queue)
07736 {
07737 return Delegates.clFlush((IntPtr)command_queue);
07738 }
07739
07740 [System.CLSCompliant(false)]
07741 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07742 public static
07743 unsafe int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
07744 where T3 : struct
07745 {
07746 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07747 try
07748 {
07749 int retval = Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
07750 param_value = (T3)param_value_ptr.Target;
07751 return retval;
07752 }
07753 finally
07754 {
07755 param_value_ptr.Free();
07756 }
07757 }
07758
07759 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07760 public static
07761 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
07762 where T3 : struct
07763 {
07764 unsafe
07765 {
07766 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
07767 {
07768 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07769 try
07770 {
07771 int retval = Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07772 param_value = (T3)param_value_ptr.Target;
07773 return retval;
07774 }
07775 finally
07776 {
07777 param_value_ptr.Free();
07778 }
07779 }
07780 }
07781 }
07782
07783 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07784 public static
07785 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
07786 where T3 : struct
07787 {
07788 unsafe
07789 {
07790 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
07791 {
07792 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07793 try
07794 {
07795 int retval = Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07796 param_value = (T3)param_value_ptr.Target;
07797 param_value_size_ret = *param_value_size_ret_ptr;
07798 return retval;
07799 }
07800 finally
07801 {
07802 param_value_ptr.Free();
07803 }
07804 }
07805 }
07806 }
07807
07808 [System.CLSCompliant(false)]
07809 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07810 public static
07811 unsafe int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
07812 where T3 : struct
07813 {
07814 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07815 try
07816 {
07817 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
07818 }
07819 finally
07820 {
07821 param_value_ptr.Free();
07822 }
07823 }
07824
07825 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07826 public static
07827 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
07828 where T3 : struct
07829 {
07830 unsafe
07831 {
07832 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
07833 {
07834 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07835 try
07836 {
07837 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07838 }
07839 finally
07840 {
07841 param_value_ptr.Free();
07842 }
07843 }
07844 }
07845 }
07846
07847 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07848 public static
07849 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
07850 where T3 : struct
07851 {
07852 unsafe
07853 {
07854 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
07855 {
07856 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07857 try
07858 {
07859 int retval = Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07860 param_value_size_ret = *param_value_size_ret_ptr;
07861 return retval;
07862 }
07863 finally
07864 {
07865 param_value_ptr.Free();
07866 }
07867 }
07868 }
07869 }
07870
07871 [System.CLSCompliant(false)]
07872 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07873 public static
07874 unsafe int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
07875 where T3 : struct
07876 {
07877 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07878 try
07879 {
07880 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
07881 }
07882 finally
07883 {
07884 param_value_ptr.Free();
07885 }
07886 }
07887
07888 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07889 public static
07890 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
07891 where T3 : struct
07892 {
07893 unsafe
07894 {
07895 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
07896 {
07897 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07898 try
07899 {
07900 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07901 }
07902 finally
07903 {
07904 param_value_ptr.Free();
07905 }
07906 }
07907 }
07908 }
07909
07910 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07911 public static
07912 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
07913 where T3 : struct
07914 {
07915 unsafe
07916 {
07917 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
07918 {
07919 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07920 try
07921 {
07922 int retval = Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07923 param_value_size_ret = *param_value_size_ret_ptr;
07924 return retval;
07925 }
07926 finally
07927 {
07928 param_value_ptr.Free();
07929 }
07930 }
07931 }
07932 }
07933
07934 [System.CLSCompliant(false)]
07935 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07936 public static
07937 unsafe int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
07938 where T3 : struct
07939 {
07940 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07941 try
07942 {
07943 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
07944 }
07945 finally
07946 {
07947 param_value_ptr.Free();
07948 }
07949 }
07950
07951 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07952 public static
07953 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
07954 where T3 : struct
07955 {
07956 unsafe
07957 {
07958 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
07959 {
07960 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07961 try
07962 {
07963 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07964 }
07965 finally
07966 {
07967 param_value_ptr.Free();
07968 }
07969 }
07970 }
07971 }
07972
07973 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07974 public static
07975 int GetCommandQueueInfo<T3>(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
07976 where T3 : struct
07977 {
07978 unsafe
07979 {
07980 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
07981 {
07982 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
07983 try
07984 {
07985 int retval = Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
07986 param_value_size_ret = *param_value_size_ret_ptr;
07987 return retval;
07988 }
07989 finally
07990 {
07991 param_value_ptr.Free();
07992 }
07993 }
07994 }
07995 }
07996
07997 [System.CLSCompliant(false)]
07998 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
07999 public static
08000 unsafe int GetCommandQueueInfo(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
08001 {
08002 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
08003 }
08004
08005 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
08006 public static
08007 int GetCommandQueueInfo(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08008 {
08009 unsafe
08010 {
08011 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08012 {
08013 return Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08014 }
08015 }
08016 }
08017
08018 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetCommandQueueInfo")]
08019 public static
08020 int GetCommandQueueInfo(IntPtr command_queue, CommandQueueInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
08021 {
08022 unsafe
08023 {
08024 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08025 {
08026 int retval = Delegates.clGetCommandQueueInfo((IntPtr)command_queue, (CommandQueueInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08027 param_value_size_ret = *param_value_size_ret_ptr;
08028 return retval;
08029 }
08030 }
08031 }
08032
08033 [System.CLSCompliant(false)]
08034 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08035 public static
08036 unsafe int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
08037 where T3 : struct
08038 {
08039 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08040 try
08041 {
08042 int retval = Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08043 param_value = (T3)param_value_ptr.Target;
08044 return retval;
08045 }
08046 finally
08047 {
08048 param_value_ptr.Free();
08049 }
08050 }
08051
08052 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08053 public static
08054 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08055 where T3 : struct
08056 {
08057 unsafe
08058 {
08059 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08060 {
08061 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08062 try
08063 {
08064 int retval = Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08065 param_value = (T3)param_value_ptr.Target;
08066 return retval;
08067 }
08068 finally
08069 {
08070 param_value_ptr.Free();
08071 }
08072 }
08073 }
08074 }
08075
08076 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08077 public static
08078 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
08079 where T3 : struct
08080 {
08081 unsafe
08082 {
08083 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08084 {
08085 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08086 try
08087 {
08088 int retval = Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08089 param_value = (T3)param_value_ptr.Target;
08090 param_value_size_ret = *param_value_size_ret_ptr;
08091 return retval;
08092 }
08093 finally
08094 {
08095 param_value_ptr.Free();
08096 }
08097 }
08098 }
08099 }
08100
08101 [System.CLSCompliant(false)]
08102 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08103 public static
08104 unsafe int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08105 where T3 : struct
08106 {
08107 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08108 try
08109 {
08110 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08111 }
08112 finally
08113 {
08114 param_value_ptr.Free();
08115 }
08116 }
08117
08118 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08119 public static
08120 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08121 where T3 : struct
08122 {
08123 unsafe
08124 {
08125 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08126 {
08127 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08128 try
08129 {
08130 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08131 }
08132 finally
08133 {
08134 param_value_ptr.Free();
08135 }
08136 }
08137 }
08138 }
08139
08140 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08141 public static
08142 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08143 where T3 : struct
08144 {
08145 unsafe
08146 {
08147 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08148 {
08149 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08150 try
08151 {
08152 int retval = Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08153 param_value_size_ret = *param_value_size_ret_ptr;
08154 return retval;
08155 }
08156 finally
08157 {
08158 param_value_ptr.Free();
08159 }
08160 }
08161 }
08162 }
08163
08164 [System.CLSCompliant(false)]
08165 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08166 public static
08167 unsafe int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08168 where T3 : struct
08169 {
08170 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08171 try
08172 {
08173 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08174 }
08175 finally
08176 {
08177 param_value_ptr.Free();
08178 }
08179 }
08180
08181 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08182 public static
08183 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08184 where T3 : struct
08185 {
08186 unsafe
08187 {
08188 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08189 {
08190 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08191 try
08192 {
08193 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08194 }
08195 finally
08196 {
08197 param_value_ptr.Free();
08198 }
08199 }
08200 }
08201 }
08202
08203 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08204 public static
08205 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08206 where T3 : struct
08207 {
08208 unsafe
08209 {
08210 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08211 {
08212 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08213 try
08214 {
08215 int retval = Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08216 param_value_size_ret = *param_value_size_ret_ptr;
08217 return retval;
08218 }
08219 finally
08220 {
08221 param_value_ptr.Free();
08222 }
08223 }
08224 }
08225 }
08226
08227 [System.CLSCompliant(false)]
08228 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08229 public static
08230 unsafe int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08231 where T3 : struct
08232 {
08233 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08234 try
08235 {
08236 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08237 }
08238 finally
08239 {
08240 param_value_ptr.Free();
08241 }
08242 }
08243
08244 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08245 public static
08246 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08247 where T3 : struct
08248 {
08249 unsafe
08250 {
08251 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08252 {
08253 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08254 try
08255 {
08256 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08257 }
08258 finally
08259 {
08260 param_value_ptr.Free();
08261 }
08262 }
08263 }
08264 }
08265
08266 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08267 public static
08268 int GetContextInfo<T3>(IntPtr context, ContextInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08269 where T3 : struct
08270 {
08271 unsafe
08272 {
08273 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08274 {
08275 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08276 try
08277 {
08278 int retval = Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08279 param_value_size_ret = *param_value_size_ret_ptr;
08280 return retval;
08281 }
08282 finally
08283 {
08284 param_value_ptr.Free();
08285 }
08286 }
08287 }
08288 }
08289
08290 [System.CLSCompliant(false)]
08291 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08292 public static
08293 unsafe int GetContextInfo(IntPtr context, ContextInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
08294 {
08295 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
08296 }
08297
08298 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08299 public static
08300 int GetContextInfo(IntPtr context, ContextInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08301 {
08302 unsafe
08303 {
08304 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08305 {
08306 return Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08307 }
08308 }
08309 }
08310
08311 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetContextInfo")]
08312 public static
08313 int GetContextInfo(IntPtr context, ContextInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
08314 {
08315 unsafe
08316 {
08317 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08318 {
08319 int retval = Delegates.clGetContextInfo((IntPtr)context, (ContextInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08320 param_value_size_ret = *param_value_size_ret_ptr;
08321 return retval;
08322 }
08323 }
08324 }
08325
08326 [System.CLSCompliant(false)]
08327 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceIDs")]
08328 public static
08329 unsafe int GetDeviceIDs(IntPtr platform, DeviceTypeFlags device_type, Int32 num_entries, IntPtr* devices, Int32* num_devices)
08330 {
08331 return Delegates.clGetDeviceIDs((IntPtr)platform, (DeviceTypeFlags)device_type, (uint)num_entries, (IntPtr*)devices, (uint*)num_devices);
08332 }
08333
08334 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceIDs")]
08335 public static
08336 int GetDeviceIDs(IntPtr platform, DeviceTypeFlags device_type, Int32 num_entries, IntPtr[] devices, Int32[] num_devices)
08337 {
08338 unsafe
08339 {
08340 fixed (IntPtr* devices_ptr = devices)
08341 fixed (Int32* num_devices_ptr = num_devices)
08342 {
08343 return Delegates.clGetDeviceIDs((IntPtr)platform, (DeviceTypeFlags)device_type, (uint)num_entries, (IntPtr*)devices_ptr, (uint*)num_devices_ptr);
08344 }
08345 }
08346 }
08347
08348 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceIDs")]
08349 public static
08350 int GetDeviceIDs(IntPtr platform, DeviceTypeFlags device_type, Int32 num_entries, ref IntPtr devices, ref Int32 num_devices)
08351 {
08352 unsafe
08353 {
08354 fixed (IntPtr* devices_ptr = &devices)
08355 fixed (Int32* num_devices_ptr = &num_devices)
08356 {
08357 return Delegates.clGetDeviceIDs((IntPtr)platform, (DeviceTypeFlags)device_type, (uint)num_entries, (IntPtr*)devices_ptr, (uint*)num_devices_ptr);
08358 }
08359 }
08360 }
08361
08362 [System.CLSCompliant(false)]
08363 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceIDs")]
08364 public static
08365 unsafe int GetDeviceIDs(IntPtr platform, DeviceTypeFlags device_type, uint num_entries, IntPtr* devices, uint* num_devices)
08366 {
08367 return Delegates.clGetDeviceIDs((IntPtr)platform, (DeviceTypeFlags)device_type, (uint)num_entries, (IntPtr*)devices, (uint*)num_devices);
08368 }
08369
08370 [System.CLSCompliant(false)]
08371 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceIDs")]
08372 public static
08373 int GetDeviceIDs(IntPtr platform, DeviceTypeFlags device_type, uint num_entries, IntPtr[] devices, uint[] num_devices)
08374 {
08375 unsafe
08376 {
08377 fixed (IntPtr* devices_ptr = devices)
08378 fixed (uint* num_devices_ptr = num_devices)
08379 {
08380 return Delegates.clGetDeviceIDs((IntPtr)platform, (DeviceTypeFlags)device_type, (uint)num_entries, (IntPtr*)devices_ptr, (uint*)num_devices_ptr);
08381 }
08382 }
08383 }
08384
08385 [System.CLSCompliant(false)]
08386 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceIDs")]
08387 public static
08388 int GetDeviceIDs(IntPtr platform, DeviceTypeFlags device_type, uint num_entries, ref IntPtr devices, ref uint num_devices)
08389 {
08390 unsafe
08391 {
08392 fixed (IntPtr* devices_ptr = &devices)
08393 fixed (uint* num_devices_ptr = &num_devices)
08394 {
08395 return Delegates.clGetDeviceIDs((IntPtr)platform, (DeviceTypeFlags)device_type, (uint)num_entries, (IntPtr*)devices_ptr, (uint*)num_devices_ptr);
08396 }
08397 }
08398 }
08399
08400 [System.CLSCompliant(false)]
08401 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08402 public static
08403 unsafe int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
08404 where T3 : struct
08405 {
08406 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08407 try
08408 {
08409 int retval = Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08410 param_value = (T3)param_value_ptr.Target;
08411 return retval;
08412 }
08413 finally
08414 {
08415 param_value_ptr.Free();
08416 }
08417 }
08418
08419 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08420 public static
08421 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08422 where T3 : struct
08423 {
08424 unsafe
08425 {
08426 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08427 {
08428 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08429 try
08430 {
08431 int retval = Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08432 param_value = (T3)param_value_ptr.Target;
08433 return retval;
08434 }
08435 finally
08436 {
08437 param_value_ptr.Free();
08438 }
08439 }
08440 }
08441 }
08442
08443 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08444 public static
08445 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
08446 where T3 : struct
08447 {
08448 unsafe
08449 {
08450 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08451 {
08452 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08453 try
08454 {
08455 int retval = Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08456 param_value = (T3)param_value_ptr.Target;
08457 param_value_size_ret = *param_value_size_ret_ptr;
08458 return retval;
08459 }
08460 finally
08461 {
08462 param_value_ptr.Free();
08463 }
08464 }
08465 }
08466 }
08467
08468 [System.CLSCompliant(false)]
08469 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08470 public static
08471 unsafe int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08472 where T3 : struct
08473 {
08474 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08475 try
08476 {
08477 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08478 }
08479 finally
08480 {
08481 param_value_ptr.Free();
08482 }
08483 }
08484
08485 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08486 public static
08487 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08488 where T3 : struct
08489 {
08490 unsafe
08491 {
08492 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08493 {
08494 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08495 try
08496 {
08497 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08498 }
08499 finally
08500 {
08501 param_value_ptr.Free();
08502 }
08503 }
08504 }
08505 }
08506
08507 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08508 public static
08509 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08510 where T3 : struct
08511 {
08512 unsafe
08513 {
08514 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08515 {
08516 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08517 try
08518 {
08519 int retval = Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08520 param_value_size_ret = *param_value_size_ret_ptr;
08521 return retval;
08522 }
08523 finally
08524 {
08525 param_value_ptr.Free();
08526 }
08527 }
08528 }
08529 }
08530
08531 [System.CLSCompliant(false)]
08532 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08533 public static
08534 unsafe int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08535 where T3 : struct
08536 {
08537 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08538 try
08539 {
08540 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08541 }
08542 finally
08543 {
08544 param_value_ptr.Free();
08545 }
08546 }
08547
08548 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08549 public static
08550 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08551 where T3 : struct
08552 {
08553 unsafe
08554 {
08555 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08556 {
08557 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08558 try
08559 {
08560 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08561 }
08562 finally
08563 {
08564 param_value_ptr.Free();
08565 }
08566 }
08567 }
08568 }
08569
08570 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08571 public static
08572 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08573 where T3 : struct
08574 {
08575 unsafe
08576 {
08577 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08578 {
08579 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08580 try
08581 {
08582 int retval = Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08583 param_value_size_ret = *param_value_size_ret_ptr;
08584 return retval;
08585 }
08586 finally
08587 {
08588 param_value_ptr.Free();
08589 }
08590 }
08591 }
08592 }
08593
08594 [System.CLSCompliant(false)]
08595 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08596 public static
08597 unsafe int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08598 where T3 : struct
08599 {
08600 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08601 try
08602 {
08603 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08604 }
08605 finally
08606 {
08607 param_value_ptr.Free();
08608 }
08609 }
08610
08611 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08612 public static
08613 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08614 where T3 : struct
08615 {
08616 unsafe
08617 {
08618 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08619 {
08620 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08621 try
08622 {
08623 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08624 }
08625 finally
08626 {
08627 param_value_ptr.Free();
08628 }
08629 }
08630 }
08631 }
08632
08633 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08634 public static
08635 int GetDeviceInfo<T3>(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08636 where T3 : struct
08637 {
08638 unsafe
08639 {
08640 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08641 {
08642 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08643 try
08644 {
08645 int retval = Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08646 param_value_size_ret = *param_value_size_ret_ptr;
08647 return retval;
08648 }
08649 finally
08650 {
08651 param_value_ptr.Free();
08652 }
08653 }
08654 }
08655 }
08656
08657 [System.CLSCompliant(false)]
08658 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08659 public static
08660 unsafe int GetDeviceInfo(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
08661 {
08662 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
08663 }
08664
08665 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08666 public static
08667 int GetDeviceInfo(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08668 {
08669 unsafe
08670 {
08671 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08672 {
08673 return Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08674 }
08675 }
08676 }
08677
08678 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetDeviceInfo")]
08679 public static
08680 int GetDeviceInfo(IntPtr device, DeviceInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
08681 {
08682 unsafe
08683 {
08684 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08685 {
08686 int retval = Delegates.clGetDeviceInfo((IntPtr)device, (DeviceInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08687 param_value_size_ret = *param_value_size_ret_ptr;
08688 return retval;
08689 }
08690 }
08691 }
08692
08693 [System.CLSCompliant(false)]
08694 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08695 public static
08696 unsafe int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
08697 where T3 : struct
08698 {
08699 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08700 try
08701 {
08702 int retval = Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08703 param_value = (T3)param_value_ptr.Target;
08704 return retval;
08705 }
08706 finally
08707 {
08708 param_value_ptr.Free();
08709 }
08710 }
08711
08712 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08713 public static
08714 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08715 where T3 : struct
08716 {
08717 unsafe
08718 {
08719 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08720 {
08721 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08722 try
08723 {
08724 int retval = Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08725 param_value = (T3)param_value_ptr.Target;
08726 return retval;
08727 }
08728 finally
08729 {
08730 param_value_ptr.Free();
08731 }
08732 }
08733 }
08734 }
08735
08736 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08737 public static
08738 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
08739 where T3 : struct
08740 {
08741 unsafe
08742 {
08743 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08744 {
08745 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08746 try
08747 {
08748 int retval = Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08749 param_value = (T3)param_value_ptr.Target;
08750 param_value_size_ret = *param_value_size_ret_ptr;
08751 return retval;
08752 }
08753 finally
08754 {
08755 param_value_ptr.Free();
08756 }
08757 }
08758 }
08759 }
08760
08761 [System.CLSCompliant(false)]
08762 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08763 public static
08764 unsafe int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08765 where T3 : struct
08766 {
08767 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08768 try
08769 {
08770 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08771 }
08772 finally
08773 {
08774 param_value_ptr.Free();
08775 }
08776 }
08777
08778 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08779 public static
08780 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08781 where T3 : struct
08782 {
08783 unsafe
08784 {
08785 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08786 {
08787 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08788 try
08789 {
08790 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08791 }
08792 finally
08793 {
08794 param_value_ptr.Free();
08795 }
08796 }
08797 }
08798 }
08799
08800 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08801 public static
08802 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08803 where T3 : struct
08804 {
08805 unsafe
08806 {
08807 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08808 {
08809 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08810 try
08811 {
08812 int retval = Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08813 param_value_size_ret = *param_value_size_ret_ptr;
08814 return retval;
08815 }
08816 finally
08817 {
08818 param_value_ptr.Free();
08819 }
08820 }
08821 }
08822 }
08823
08824 [System.CLSCompliant(false)]
08825 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08826 public static
08827 unsafe int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08828 where T3 : struct
08829 {
08830 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08831 try
08832 {
08833 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08834 }
08835 finally
08836 {
08837 param_value_ptr.Free();
08838 }
08839 }
08840
08841 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08842 public static
08843 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08844 where T3 : struct
08845 {
08846 unsafe
08847 {
08848 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08849 {
08850 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08851 try
08852 {
08853 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08854 }
08855 finally
08856 {
08857 param_value_ptr.Free();
08858 }
08859 }
08860 }
08861 }
08862
08863 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08864 public static
08865 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08866 where T3 : struct
08867 {
08868 unsafe
08869 {
08870 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08871 {
08872 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08873 try
08874 {
08875 int retval = Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08876 param_value_size_ret = *param_value_size_ret_ptr;
08877 return retval;
08878 }
08879 finally
08880 {
08881 param_value_ptr.Free();
08882 }
08883 }
08884 }
08885 }
08886
08887 [System.CLSCompliant(false)]
08888 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08889 public static
08890 unsafe int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
08891 where T3 : struct
08892 {
08893 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08894 try
08895 {
08896 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08897 }
08898 finally
08899 {
08900 param_value_ptr.Free();
08901 }
08902 }
08903
08904 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08905 public static
08906 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08907 where T3 : struct
08908 {
08909 unsafe
08910 {
08911 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08912 {
08913 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08914 try
08915 {
08916 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08917 }
08918 finally
08919 {
08920 param_value_ptr.Free();
08921 }
08922 }
08923 }
08924 }
08925
08926 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08927 public static
08928 int GetEventInfo<T3>(IntPtr @event, EventInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
08929 where T3 : struct
08930 {
08931 unsafe
08932 {
08933 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08934 {
08935 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08936 try
08937 {
08938 int retval = Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
08939 param_value_size_ret = *param_value_size_ret_ptr;
08940 return retval;
08941 }
08942 finally
08943 {
08944 param_value_ptr.Free();
08945 }
08946 }
08947 }
08948 }
08949
08950 [System.CLSCompliant(false)]
08951 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08952 public static
08953 unsafe int GetEventInfo(IntPtr @event, EventInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
08954 {
08955 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
08956 }
08957
08958 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08959 public static
08960 int GetEventInfo(IntPtr @event, EventInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
08961 {
08962 unsafe
08963 {
08964 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
08965 {
08966 return Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08967 }
08968 }
08969 }
08970
08971 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventInfo")]
08972 public static
08973 int GetEventInfo(IntPtr @event, EventInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
08974 {
08975 unsafe
08976 {
08977 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
08978 {
08979 int retval = Delegates.clGetEventInfo((IntPtr)@event, (EventInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
08980 param_value_size_ret = *param_value_size_ret_ptr;
08981 return retval;
08982 }
08983 }
08984 }
08985
08986 [System.CLSCompliant(false)]
08987 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
08988 public static
08989 unsafe int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
08990 where T3 : struct
08991 {
08992 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
08993 try
08994 {
08995 int retval = Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
08996 param_value = (T3)param_value_ptr.Target;
08997 return retval;
08998 }
08999 finally
09000 {
09001 param_value_ptr.Free();
09002 }
09003 }
09004
09005 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09006 public static
09007 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09008 where T3 : struct
09009 {
09010 unsafe
09011 {
09012 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09013 {
09014 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09015 try
09016 {
09017 int retval = Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09018 param_value = (T3)param_value_ptr.Target;
09019 return retval;
09020 }
09021 finally
09022 {
09023 param_value_ptr.Free();
09024 }
09025 }
09026 }
09027 }
09028
09029 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09030 public static
09031 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
09032 where T3 : struct
09033 {
09034 unsafe
09035 {
09036 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09037 {
09038 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09039 try
09040 {
09041 int retval = Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09042 param_value = (T3)param_value_ptr.Target;
09043 param_value_size_ret = *param_value_size_ret_ptr;
09044 return retval;
09045 }
09046 finally
09047 {
09048 param_value_ptr.Free();
09049 }
09050 }
09051 }
09052 }
09053
09054 [System.CLSCompliant(false)]
09055 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09056 public static
09057 unsafe int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09058 where T3 : struct
09059 {
09060 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09061 try
09062 {
09063 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09064 }
09065 finally
09066 {
09067 param_value_ptr.Free();
09068 }
09069 }
09070
09071 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09072 public static
09073 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09074 where T3 : struct
09075 {
09076 unsafe
09077 {
09078 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09079 {
09080 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09081 try
09082 {
09083 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09084 }
09085 finally
09086 {
09087 param_value_ptr.Free();
09088 }
09089 }
09090 }
09091 }
09092
09093 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09094 public static
09095 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09096 where T3 : struct
09097 {
09098 unsafe
09099 {
09100 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09101 {
09102 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09103 try
09104 {
09105 int retval = Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09106 param_value_size_ret = *param_value_size_ret_ptr;
09107 return retval;
09108 }
09109 finally
09110 {
09111 param_value_ptr.Free();
09112 }
09113 }
09114 }
09115 }
09116
09117 [System.CLSCompliant(false)]
09118 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09119 public static
09120 unsafe int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09121 where T3 : struct
09122 {
09123 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09124 try
09125 {
09126 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09127 }
09128 finally
09129 {
09130 param_value_ptr.Free();
09131 }
09132 }
09133
09134 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09135 public static
09136 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09137 where T3 : struct
09138 {
09139 unsafe
09140 {
09141 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09142 {
09143 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09144 try
09145 {
09146 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09147 }
09148 finally
09149 {
09150 param_value_ptr.Free();
09151 }
09152 }
09153 }
09154 }
09155
09156 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09157 public static
09158 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09159 where T3 : struct
09160 {
09161 unsafe
09162 {
09163 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09164 {
09165 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09166 try
09167 {
09168 int retval = Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09169 param_value_size_ret = *param_value_size_ret_ptr;
09170 return retval;
09171 }
09172 finally
09173 {
09174 param_value_ptr.Free();
09175 }
09176 }
09177 }
09178 }
09179
09180 [System.CLSCompliant(false)]
09181 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09182 public static
09183 unsafe int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09184 where T3 : struct
09185 {
09186 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09187 try
09188 {
09189 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09190 }
09191 finally
09192 {
09193 param_value_ptr.Free();
09194 }
09195 }
09196
09197 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09198 public static
09199 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09200 where T3 : struct
09201 {
09202 unsafe
09203 {
09204 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09205 {
09206 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09207 try
09208 {
09209 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09210 }
09211 finally
09212 {
09213 param_value_ptr.Free();
09214 }
09215 }
09216 }
09217 }
09218
09219 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09220 public static
09221 int GetEventProfilingInfo<T3>(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09222 where T3 : struct
09223 {
09224 unsafe
09225 {
09226 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09227 {
09228 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09229 try
09230 {
09231 int retval = Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09232 param_value_size_ret = *param_value_size_ret_ptr;
09233 return retval;
09234 }
09235 finally
09236 {
09237 param_value_ptr.Free();
09238 }
09239 }
09240 }
09241 }
09242
09243 [System.CLSCompliant(false)]
09244 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09245 public static
09246 unsafe int GetEventProfilingInfo(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
09247 {
09248 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
09249 }
09250
09251 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09252 public static
09253 int GetEventProfilingInfo(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09254 {
09255 unsafe
09256 {
09257 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09258 {
09259 return Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
09260 }
09261 }
09262 }
09263
09264 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetEventProfilingInfo")]
09265 public static
09266 int GetEventProfilingInfo(IntPtr @event, ProfilingInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
09267 {
09268 unsafe
09269 {
09270 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09271 {
09272 int retval = Delegates.clGetEventProfilingInfo((IntPtr)@event, (ProfilingInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
09273 param_value_size_ret = *param_value_size_ret_ptr;
09274 return retval;
09275 }
09276 }
09277 }
09278
09279 [System.CLSCompliant(false)]
09280 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09281 public static
09282 unsafe int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
09283 where T3 : struct
09284 {
09285 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09286 try
09287 {
09288 int retval = Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09289 param_value = (T3)param_value_ptr.Target;
09290 return retval;
09291 }
09292 finally
09293 {
09294 param_value_ptr.Free();
09295 }
09296 }
09297
09298 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09299 public static
09300 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09301 where T3 : struct
09302 {
09303 unsafe
09304 {
09305 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09306 {
09307 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09308 try
09309 {
09310 int retval = Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09311 param_value = (T3)param_value_ptr.Target;
09312 return retval;
09313 }
09314 finally
09315 {
09316 param_value_ptr.Free();
09317 }
09318 }
09319 }
09320 }
09321
09322 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09323 public static
09324 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
09325 where T3 : struct
09326 {
09327 unsafe
09328 {
09329 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09330 {
09331 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09332 try
09333 {
09334 int retval = Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09335 param_value = (T3)param_value_ptr.Target;
09336 param_value_size_ret = *param_value_size_ret_ptr;
09337 return retval;
09338 }
09339 finally
09340 {
09341 param_value_ptr.Free();
09342 }
09343 }
09344 }
09345 }
09346
09347 [System.CLSCompliant(false)]
09348 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09349 public static
09350 unsafe int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09351 where T3 : struct
09352 {
09353 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09354 try
09355 {
09356 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09357 }
09358 finally
09359 {
09360 param_value_ptr.Free();
09361 }
09362 }
09363
09364 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09365 public static
09366 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09367 where T3 : struct
09368 {
09369 unsafe
09370 {
09371 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09372 {
09373 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09374 try
09375 {
09376 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09377 }
09378 finally
09379 {
09380 param_value_ptr.Free();
09381 }
09382 }
09383 }
09384 }
09385
09386 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09387 public static
09388 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09389 where T3 : struct
09390 {
09391 unsafe
09392 {
09393 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09394 {
09395 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09396 try
09397 {
09398 int retval = Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09399 param_value_size_ret = *param_value_size_ret_ptr;
09400 return retval;
09401 }
09402 finally
09403 {
09404 param_value_ptr.Free();
09405 }
09406 }
09407 }
09408 }
09409
09410 [System.CLSCompliant(false)]
09411 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09412 public static
09413 unsafe int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09414 where T3 : struct
09415 {
09416 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09417 try
09418 {
09419 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09420 }
09421 finally
09422 {
09423 param_value_ptr.Free();
09424 }
09425 }
09426
09427 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09428 public static
09429 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09430 where T3 : struct
09431 {
09432 unsafe
09433 {
09434 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09435 {
09436 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09437 try
09438 {
09439 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09440 }
09441 finally
09442 {
09443 param_value_ptr.Free();
09444 }
09445 }
09446 }
09447 }
09448
09449 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09450 public static
09451 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09452 where T3 : struct
09453 {
09454 unsafe
09455 {
09456 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09457 {
09458 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09459 try
09460 {
09461 int retval = Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09462 param_value_size_ret = *param_value_size_ret_ptr;
09463 return retval;
09464 }
09465 finally
09466 {
09467 param_value_ptr.Free();
09468 }
09469 }
09470 }
09471 }
09472
09473 [System.CLSCompliant(false)]
09474 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09475 public static
09476 unsafe int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09477 where T3 : struct
09478 {
09479 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09480 try
09481 {
09482 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09483 }
09484 finally
09485 {
09486 param_value_ptr.Free();
09487 }
09488 }
09489
09490 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09491 public static
09492 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09493 where T3 : struct
09494 {
09495 unsafe
09496 {
09497 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09498 {
09499 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09500 try
09501 {
09502 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09503 }
09504 finally
09505 {
09506 param_value_ptr.Free();
09507 }
09508 }
09509 }
09510 }
09511
09512 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09513 public static
09514 int GetImageInfo<T3>(IntPtr image, ImageInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09515 where T3 : struct
09516 {
09517 unsafe
09518 {
09519 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09520 {
09521 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09522 try
09523 {
09524 int retval = Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09525 param_value_size_ret = *param_value_size_ret_ptr;
09526 return retval;
09527 }
09528 finally
09529 {
09530 param_value_ptr.Free();
09531 }
09532 }
09533 }
09534 }
09535
09536 [System.CLSCompliant(false)]
09537 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09538 public static
09539 unsafe int GetImageInfo(IntPtr image, ImageInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
09540 {
09541 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
09542 }
09543
09544 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09545 public static
09546 int GetImageInfo(IntPtr image, ImageInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09547 {
09548 unsafe
09549 {
09550 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09551 {
09552 return Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
09553 }
09554 }
09555 }
09556
09557 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetImageInfo")]
09558 public static
09559 int GetImageInfo(IntPtr image, ImageInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
09560 {
09561 unsafe
09562 {
09563 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09564 {
09565 int retval = Delegates.clGetImageInfo((IntPtr)image, (ImageInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
09566 param_value_size_ret = *param_value_size_ret_ptr;
09567 return retval;
09568 }
09569 }
09570 }
09571
09572 [System.CLSCompliant(false)]
09573 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09574 public static
09575 unsafe int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
09576 where T3 : struct
09577 {
09578 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09579 try
09580 {
09581 int retval = Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09582 param_value = (T3)param_value_ptr.Target;
09583 return retval;
09584 }
09585 finally
09586 {
09587 param_value_ptr.Free();
09588 }
09589 }
09590
09591 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09592 public static
09593 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09594 where T3 : struct
09595 {
09596 unsafe
09597 {
09598 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09599 {
09600 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09601 try
09602 {
09603 int retval = Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09604 param_value = (T3)param_value_ptr.Target;
09605 return retval;
09606 }
09607 finally
09608 {
09609 param_value_ptr.Free();
09610 }
09611 }
09612 }
09613 }
09614
09615 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09616 public static
09617 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
09618 where T3 : struct
09619 {
09620 unsafe
09621 {
09622 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09623 {
09624 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09625 try
09626 {
09627 int retval = Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09628 param_value = (T3)param_value_ptr.Target;
09629 param_value_size_ret = *param_value_size_ret_ptr;
09630 return retval;
09631 }
09632 finally
09633 {
09634 param_value_ptr.Free();
09635 }
09636 }
09637 }
09638 }
09639
09640 [System.CLSCompliant(false)]
09641 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09642 public static
09643 unsafe int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09644 where T3 : struct
09645 {
09646 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09647 try
09648 {
09649 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09650 }
09651 finally
09652 {
09653 param_value_ptr.Free();
09654 }
09655 }
09656
09657 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09658 public static
09659 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09660 where T3 : struct
09661 {
09662 unsafe
09663 {
09664 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09665 {
09666 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09667 try
09668 {
09669 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09670 }
09671 finally
09672 {
09673 param_value_ptr.Free();
09674 }
09675 }
09676 }
09677 }
09678
09679 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09680 public static
09681 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09682 where T3 : struct
09683 {
09684 unsafe
09685 {
09686 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09687 {
09688 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09689 try
09690 {
09691 int retval = Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09692 param_value_size_ret = *param_value_size_ret_ptr;
09693 return retval;
09694 }
09695 finally
09696 {
09697 param_value_ptr.Free();
09698 }
09699 }
09700 }
09701 }
09702
09703 [System.CLSCompliant(false)]
09704 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09705 public static
09706 unsafe int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09707 where T3 : struct
09708 {
09709 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09710 try
09711 {
09712 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09713 }
09714 finally
09715 {
09716 param_value_ptr.Free();
09717 }
09718 }
09719
09720 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09721 public static
09722 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09723 where T3 : struct
09724 {
09725 unsafe
09726 {
09727 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09728 {
09729 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09730 try
09731 {
09732 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09733 }
09734 finally
09735 {
09736 param_value_ptr.Free();
09737 }
09738 }
09739 }
09740 }
09741
09742 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09743 public static
09744 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09745 where T3 : struct
09746 {
09747 unsafe
09748 {
09749 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09750 {
09751 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09752 try
09753 {
09754 int retval = Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09755 param_value_size_ret = *param_value_size_ret_ptr;
09756 return retval;
09757 }
09758 finally
09759 {
09760 param_value_ptr.Free();
09761 }
09762 }
09763 }
09764 }
09765
09766 [System.CLSCompliant(false)]
09767 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09768 public static
09769 unsafe int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09770 where T3 : struct
09771 {
09772 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09773 try
09774 {
09775 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09776 }
09777 finally
09778 {
09779 param_value_ptr.Free();
09780 }
09781 }
09782
09783 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09784 public static
09785 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09786 where T3 : struct
09787 {
09788 unsafe
09789 {
09790 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09791 {
09792 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09793 try
09794 {
09795 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09796 }
09797 finally
09798 {
09799 param_value_ptr.Free();
09800 }
09801 }
09802 }
09803 }
09804
09805 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09806 public static
09807 int GetKernelInfo<T3>(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09808 where T3 : struct
09809 {
09810 unsafe
09811 {
09812 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09813 {
09814 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09815 try
09816 {
09817 int retval = Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09818 param_value_size_ret = *param_value_size_ret_ptr;
09819 return retval;
09820 }
09821 finally
09822 {
09823 param_value_ptr.Free();
09824 }
09825 }
09826 }
09827 }
09828
09829 [System.CLSCompliant(false)]
09830 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09831 public static
09832 unsafe int GetKernelInfo(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
09833 {
09834 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
09835 }
09836
09837 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09838 public static
09839 int GetKernelInfo(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09840 {
09841 unsafe
09842 {
09843 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09844 {
09845 return Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
09846 }
09847 }
09848 }
09849
09850 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelInfo")]
09851 public static
09852 int GetKernelInfo(IntPtr kernel, KernelInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
09853 {
09854 unsafe
09855 {
09856 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09857 {
09858 int retval = Delegates.clGetKernelInfo((IntPtr)kernel, (KernelInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
09859 param_value_size_ret = *param_value_size_ret_ptr;
09860 return retval;
09861 }
09862 }
09863 }
09864
09865 [System.CLSCompliant(false)]
09866 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
09867 public static
09868 unsafe int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T4 param_value, [OutAttribute] IntPtr* param_value_size_ret)
09869 where T4 : struct
09870 {
09871 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09872 try
09873 {
09874 int retval = Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09875 param_value = (T4)param_value_ptr.Target;
09876 return retval;
09877 }
09878 finally
09879 {
09880 param_value_ptr.Free();
09881 }
09882 }
09883
09884 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
09885 public static
09886 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T4 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09887 where T4 : struct
09888 {
09889 unsafe
09890 {
09891 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09892 {
09893 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09894 try
09895 {
09896 int retval = Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09897 param_value = (T4)param_value_ptr.Target;
09898 return retval;
09899 }
09900 finally
09901 {
09902 param_value_ptr.Free();
09903 }
09904 }
09905 }
09906 }
09907
09908 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
09909 public static
09910 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T4 param_value, [OutAttribute] out IntPtr param_value_size_ret)
09911 where T4 : struct
09912 {
09913 unsafe
09914 {
09915 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09916 {
09917 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09918 try
09919 {
09920 int retval = Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09921 param_value = (T4)param_value_ptr.Target;
09922 param_value_size_ret = *param_value_size_ret_ptr;
09923 return retval;
09924 }
09925 finally
09926 {
09927 param_value_ptr.Free();
09928 }
09929 }
09930 }
09931 }
09932
09933 [System.CLSCompliant(false)]
09934 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
09935 public static
09936 unsafe int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
09937 where T4 : struct
09938 {
09939 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09940 try
09941 {
09942 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
09943 }
09944 finally
09945 {
09946 param_value_ptr.Free();
09947 }
09948 }
09949
09950 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
09951 public static
09952 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
09953 where T4 : struct
09954 {
09955 unsafe
09956 {
09957 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
09958 {
09959 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09960 try
09961 {
09962 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09963 }
09964 finally
09965 {
09966 param_value_ptr.Free();
09967 }
09968 }
09969 }
09970 }
09971
09972 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
09973 public static
09974 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
09975 where T4 : struct
09976 {
09977 unsafe
09978 {
09979 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
09980 {
09981 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
09982 try
09983 {
09984 int retval = Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
09985 param_value_size_ret = *param_value_size_ret_ptr;
09986 return retval;
09987 }
09988 finally
09989 {
09990 param_value_ptr.Free();
09991 }
09992 }
09993 }
09994 }
09995
09996 [System.CLSCompliant(false)]
09997 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
09998 public static
09999 unsafe int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10000 where T4 : struct
10001 {
10002 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10003 try
10004 {
10005 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10006 }
10007 finally
10008 {
10009 param_value_ptr.Free();
10010 }
10011 }
10012
10013 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10014 public static
10015 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10016 where T4 : struct
10017 {
10018 unsafe
10019 {
10020 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10021 {
10022 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10023 try
10024 {
10025 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10026 }
10027 finally
10028 {
10029 param_value_ptr.Free();
10030 }
10031 }
10032 }
10033 }
10034
10035 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10036 public static
10037 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10038 where T4 : struct
10039 {
10040 unsafe
10041 {
10042 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10043 {
10044 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10045 try
10046 {
10047 int retval = Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10048 param_value_size_ret = *param_value_size_ret_ptr;
10049 return retval;
10050 }
10051 finally
10052 {
10053 param_value_ptr.Free();
10054 }
10055 }
10056 }
10057 }
10058
10059 [System.CLSCompliant(false)]
10060 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10061 public static
10062 unsafe int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10063 where T4 : struct
10064 {
10065 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10066 try
10067 {
10068 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10069 }
10070 finally
10071 {
10072 param_value_ptr.Free();
10073 }
10074 }
10075
10076 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10077 public static
10078 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10079 where T4 : struct
10080 {
10081 unsafe
10082 {
10083 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10084 {
10085 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10086 try
10087 {
10088 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10089 }
10090 finally
10091 {
10092 param_value_ptr.Free();
10093 }
10094 }
10095 }
10096 }
10097
10098 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10099 public static
10100 int GetKernelWorkGroupInfo<T4>(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10101 where T4 : struct
10102 {
10103 unsafe
10104 {
10105 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10106 {
10107 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10108 try
10109 {
10110 int retval = Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10111 param_value_size_ret = *param_value_size_ret_ptr;
10112 return retval;
10113 }
10114 finally
10115 {
10116 param_value_ptr.Free();
10117 }
10118 }
10119 }
10120 }
10121
10122 [System.CLSCompliant(false)]
10123 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10124 public static
10125 unsafe int GetKernelWorkGroupInfo(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
10126 {
10127 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
10128 }
10129
10130 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10131 public static
10132 int GetKernelWorkGroupInfo(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10133 {
10134 unsafe
10135 {
10136 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10137 {
10138 return Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
10139 }
10140 }
10141 }
10142
10143 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetKernelWorkGroupInfo")]
10144 public static
10145 int GetKernelWorkGroupInfo(IntPtr kernel, IntPtr device, KernelWorkGroupInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
10146 {
10147 unsafe
10148 {
10149 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10150 {
10151 int retval = Delegates.clGetKernelWorkGroupInfo((IntPtr)kernel, (IntPtr)device, (KernelWorkGroupInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
10152 param_value_size_ret = *param_value_size_ret_ptr;
10153 return retval;
10154 }
10155 }
10156 }
10157
10158 [System.CLSCompliant(false)]
10159 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10160 public static
10161 unsafe int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
10162 where T3 : struct
10163 {
10164 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10165 try
10166 {
10167 int retval = Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10168 param_value = (T3)param_value_ptr.Target;
10169 return retval;
10170 }
10171 finally
10172 {
10173 param_value_ptr.Free();
10174 }
10175 }
10176
10177 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10178 public static
10179 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10180 where T3 : struct
10181 {
10182 unsafe
10183 {
10184 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10185 {
10186 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10187 try
10188 {
10189 int retval = Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10190 param_value = (T3)param_value_ptr.Target;
10191 return retval;
10192 }
10193 finally
10194 {
10195 param_value_ptr.Free();
10196 }
10197 }
10198 }
10199 }
10200
10201 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10202 public static
10203 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
10204 where T3 : struct
10205 {
10206 unsafe
10207 {
10208 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10209 {
10210 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10211 try
10212 {
10213 int retval = Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10214 param_value = (T3)param_value_ptr.Target;
10215 param_value_size_ret = *param_value_size_ret_ptr;
10216 return retval;
10217 }
10218 finally
10219 {
10220 param_value_ptr.Free();
10221 }
10222 }
10223 }
10224 }
10225
10226 [System.CLSCompliant(false)]
10227 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10228 public static
10229 unsafe int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10230 where T3 : struct
10231 {
10232 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10233 try
10234 {
10235 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10236 }
10237 finally
10238 {
10239 param_value_ptr.Free();
10240 }
10241 }
10242
10243 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10244 public static
10245 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10246 where T3 : struct
10247 {
10248 unsafe
10249 {
10250 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10251 {
10252 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10253 try
10254 {
10255 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10256 }
10257 finally
10258 {
10259 param_value_ptr.Free();
10260 }
10261 }
10262 }
10263 }
10264
10265 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10266 public static
10267 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10268 where T3 : struct
10269 {
10270 unsafe
10271 {
10272 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10273 {
10274 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10275 try
10276 {
10277 int retval = Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10278 param_value_size_ret = *param_value_size_ret_ptr;
10279 return retval;
10280 }
10281 finally
10282 {
10283 param_value_ptr.Free();
10284 }
10285 }
10286 }
10287 }
10288
10289 [System.CLSCompliant(false)]
10290 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10291 public static
10292 unsafe int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10293 where T3 : struct
10294 {
10295 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10296 try
10297 {
10298 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10299 }
10300 finally
10301 {
10302 param_value_ptr.Free();
10303 }
10304 }
10305
10306 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10307 public static
10308 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10309 where T3 : struct
10310 {
10311 unsafe
10312 {
10313 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10314 {
10315 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10316 try
10317 {
10318 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10319 }
10320 finally
10321 {
10322 param_value_ptr.Free();
10323 }
10324 }
10325 }
10326 }
10327
10328 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10329 public static
10330 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10331 where T3 : struct
10332 {
10333 unsafe
10334 {
10335 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10336 {
10337 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10338 try
10339 {
10340 int retval = Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10341 param_value_size_ret = *param_value_size_ret_ptr;
10342 return retval;
10343 }
10344 finally
10345 {
10346 param_value_ptr.Free();
10347 }
10348 }
10349 }
10350 }
10351
10352 [System.CLSCompliant(false)]
10353 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10354 public static
10355 unsafe int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10356 where T3 : struct
10357 {
10358 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10359 try
10360 {
10361 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10362 }
10363 finally
10364 {
10365 param_value_ptr.Free();
10366 }
10367 }
10368
10369 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10370 public static
10371 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10372 where T3 : struct
10373 {
10374 unsafe
10375 {
10376 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10377 {
10378 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10379 try
10380 {
10381 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10382 }
10383 finally
10384 {
10385 param_value_ptr.Free();
10386 }
10387 }
10388 }
10389 }
10390
10391 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10392 public static
10393 int GetMemObjectInfo<T3>(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10394 where T3 : struct
10395 {
10396 unsafe
10397 {
10398 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10399 {
10400 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10401 try
10402 {
10403 int retval = Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10404 param_value_size_ret = *param_value_size_ret_ptr;
10405 return retval;
10406 }
10407 finally
10408 {
10409 param_value_ptr.Free();
10410 }
10411 }
10412 }
10413 }
10414
10415 [System.CLSCompliant(false)]
10416 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10417 public static
10418 unsafe int GetMemObjectInfo(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
10419 {
10420 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
10421 }
10422
10423 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10424 public static
10425 int GetMemObjectInfo(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10426 {
10427 unsafe
10428 {
10429 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10430 {
10431 return Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
10432 }
10433 }
10434 }
10435
10436 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetMemObjectInfo")]
10437 public static
10438 int GetMemObjectInfo(IntPtr memobj, MemInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
10439 {
10440 unsafe
10441 {
10442 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10443 {
10444 int retval = Delegates.clGetMemObjectInfo((IntPtr)memobj, (MemInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
10445 param_value_size_ret = *param_value_size_ret_ptr;
10446 return retval;
10447 }
10448 }
10449 }
10450
10451 [System.CLSCompliant(false)]
10452 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformIDs")]
10453 public static
10454 unsafe int GetPlatformIDs(Int32 num_entries, IntPtr* platforms, Int32* num_platforms)
10455 {
10456 return Delegates.clGetPlatformIDs((uint)num_entries, (IntPtr*)platforms, (uint*)num_platforms);
10457 }
10458
10459 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformIDs")]
10460 public static
10461 int GetPlatformIDs(Int32 num_entries, IntPtr[] platforms, Int32[] num_platforms)
10462 {
10463 unsafe
10464 {
10465 fixed (IntPtr* platforms_ptr = platforms)
10466 fixed (Int32* num_platforms_ptr = num_platforms)
10467 {
10468 return Delegates.clGetPlatformIDs((uint)num_entries, (IntPtr*)platforms_ptr, (uint*)num_platforms_ptr);
10469 }
10470 }
10471 }
10472
10473 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformIDs")]
10474 public static
10475 int GetPlatformIDs(Int32 num_entries, ref IntPtr platforms, ref Int32 num_platforms)
10476 {
10477 unsafe
10478 {
10479 fixed (IntPtr* platforms_ptr = &platforms)
10480 fixed (Int32* num_platforms_ptr = &num_platforms)
10481 {
10482 return Delegates.clGetPlatformIDs((uint)num_entries, (IntPtr*)platforms_ptr, (uint*)num_platforms_ptr);
10483 }
10484 }
10485 }
10486
10487 [System.CLSCompliant(false)]
10488 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformIDs")]
10489 public static
10490 unsafe int GetPlatformIDs(uint num_entries, IntPtr* platforms, uint* num_platforms)
10491 {
10492 return Delegates.clGetPlatformIDs((uint)num_entries, (IntPtr*)platforms, (uint*)num_platforms);
10493 }
10494
10495 [System.CLSCompliant(false)]
10496 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformIDs")]
10497 public static
10498 int GetPlatformIDs(uint num_entries, IntPtr[] platforms, uint[] num_platforms)
10499 {
10500 unsafe
10501 {
10502 fixed (IntPtr* platforms_ptr = platforms)
10503 fixed (uint* num_platforms_ptr = num_platforms)
10504 {
10505 return Delegates.clGetPlatformIDs((uint)num_entries, (IntPtr*)platforms_ptr, (uint*)num_platforms_ptr);
10506 }
10507 }
10508 }
10509
10510 [System.CLSCompliant(false)]
10511 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformIDs")]
10512 public static
10513 int GetPlatformIDs(uint num_entries, ref IntPtr platforms, ref uint num_platforms)
10514 {
10515 unsafe
10516 {
10517 fixed (IntPtr* platforms_ptr = &platforms)
10518 fixed (uint* num_platforms_ptr = &num_platforms)
10519 {
10520 return Delegates.clGetPlatformIDs((uint)num_entries, (IntPtr*)platforms_ptr, (uint*)num_platforms_ptr);
10521 }
10522 }
10523 }
10524
10525 [System.CLSCompliant(false)]
10526 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10527 public static
10528 unsafe int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
10529 where T3 : struct
10530 {
10531 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10532 try
10533 {
10534 int retval = Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10535 param_value = (T3)param_value_ptr.Target;
10536 return retval;
10537 }
10538 finally
10539 {
10540 param_value_ptr.Free();
10541 }
10542 }
10543
10544 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10545 public static
10546 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10547 where T3 : struct
10548 {
10549 unsafe
10550 {
10551 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10552 {
10553 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10554 try
10555 {
10556 int retval = Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10557 param_value = (T3)param_value_ptr.Target;
10558 return retval;
10559 }
10560 finally
10561 {
10562 param_value_ptr.Free();
10563 }
10564 }
10565 }
10566 }
10567
10568 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10569 public static
10570 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
10571 where T3 : struct
10572 {
10573 unsafe
10574 {
10575 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10576 {
10577 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10578 try
10579 {
10580 int retval = Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10581 param_value = (T3)param_value_ptr.Target;
10582 param_value_size_ret = *param_value_size_ret_ptr;
10583 return retval;
10584 }
10585 finally
10586 {
10587 param_value_ptr.Free();
10588 }
10589 }
10590 }
10591 }
10592
10593 [System.CLSCompliant(false)]
10594 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10595 public static
10596 unsafe int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10597 where T3 : struct
10598 {
10599 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10600 try
10601 {
10602 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10603 }
10604 finally
10605 {
10606 param_value_ptr.Free();
10607 }
10608 }
10609
10610 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10611 public static
10612 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10613 where T3 : struct
10614 {
10615 unsafe
10616 {
10617 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10618 {
10619 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10620 try
10621 {
10622 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10623 }
10624 finally
10625 {
10626 param_value_ptr.Free();
10627 }
10628 }
10629 }
10630 }
10631
10632 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10633 public static
10634 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10635 where T3 : struct
10636 {
10637 unsafe
10638 {
10639 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10640 {
10641 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10642 try
10643 {
10644 int retval = Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10645 param_value_size_ret = *param_value_size_ret_ptr;
10646 return retval;
10647 }
10648 finally
10649 {
10650 param_value_ptr.Free();
10651 }
10652 }
10653 }
10654 }
10655
10656 [System.CLSCompliant(false)]
10657 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10658 public static
10659 unsafe int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10660 where T3 : struct
10661 {
10662 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10663 try
10664 {
10665 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10666 }
10667 finally
10668 {
10669 param_value_ptr.Free();
10670 }
10671 }
10672
10673 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10674 public static
10675 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10676 where T3 : struct
10677 {
10678 unsafe
10679 {
10680 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10681 {
10682 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10683 try
10684 {
10685 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10686 }
10687 finally
10688 {
10689 param_value_ptr.Free();
10690 }
10691 }
10692 }
10693 }
10694
10695 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10696 public static
10697 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10698 where T3 : struct
10699 {
10700 unsafe
10701 {
10702 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10703 {
10704 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10705 try
10706 {
10707 int retval = Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10708 param_value_size_ret = *param_value_size_ret_ptr;
10709 return retval;
10710 }
10711 finally
10712 {
10713 param_value_ptr.Free();
10714 }
10715 }
10716 }
10717 }
10718
10719 [System.CLSCompliant(false)]
10720 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10721 public static
10722 unsafe int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10723 where T3 : struct
10724 {
10725 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10726 try
10727 {
10728 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10729 }
10730 finally
10731 {
10732 param_value_ptr.Free();
10733 }
10734 }
10735
10736 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10737 public static
10738 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10739 where T3 : struct
10740 {
10741 unsafe
10742 {
10743 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10744 {
10745 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10746 try
10747 {
10748 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10749 }
10750 finally
10751 {
10752 param_value_ptr.Free();
10753 }
10754 }
10755 }
10756 }
10757
10758 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10759 public static
10760 int GetPlatformInfo<T3>(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10761 where T3 : struct
10762 {
10763 unsafe
10764 {
10765 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10766 {
10767 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10768 try
10769 {
10770 int retval = Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10771 param_value_size_ret = *param_value_size_ret_ptr;
10772 return retval;
10773 }
10774 finally
10775 {
10776 param_value_ptr.Free();
10777 }
10778 }
10779 }
10780 }
10781
10782 [System.CLSCompliant(false)]
10783 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10784 public static
10785 unsafe int GetPlatformInfo(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
10786 {
10787 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
10788 }
10789
10790 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10791 public static
10792 int GetPlatformInfo(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10793 {
10794 unsafe
10795 {
10796 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10797 {
10798 return Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
10799 }
10800 }
10801 }
10802
10803 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetPlatformInfo")]
10804 public static
10805 int GetPlatformInfo(IntPtr platform, PlatformInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
10806 {
10807 unsafe
10808 {
10809 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10810 {
10811 int retval = Delegates.clGetPlatformInfo((IntPtr)platform, (PlatformInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
10812 param_value_size_ret = *param_value_size_ret_ptr;
10813 return retval;
10814 }
10815 }
10816 }
10817
10818 [System.CLSCompliant(false)]
10819 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10820 public static
10821 unsafe int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T4 param_value, [OutAttribute] IntPtr* param_value_size_ret)
10822 where T4 : struct
10823 {
10824 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10825 try
10826 {
10827 int retval = Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10828 param_value = (T4)param_value_ptr.Target;
10829 return retval;
10830 }
10831 finally
10832 {
10833 param_value_ptr.Free();
10834 }
10835 }
10836
10837 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10838 public static
10839 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T4 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10840 where T4 : struct
10841 {
10842 unsafe
10843 {
10844 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10845 {
10846 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10847 try
10848 {
10849 int retval = Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10850 param_value = (T4)param_value_ptr.Target;
10851 return retval;
10852 }
10853 finally
10854 {
10855 param_value_ptr.Free();
10856 }
10857 }
10858 }
10859 }
10860
10861 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10862 public static
10863 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T4 param_value, [OutAttribute] out IntPtr param_value_size_ret)
10864 where T4 : struct
10865 {
10866 unsafe
10867 {
10868 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10869 {
10870 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10871 try
10872 {
10873 int retval = Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10874 param_value = (T4)param_value_ptr.Target;
10875 param_value_size_ret = *param_value_size_ret_ptr;
10876 return retval;
10877 }
10878 finally
10879 {
10880 param_value_ptr.Free();
10881 }
10882 }
10883 }
10884 }
10885
10886 [System.CLSCompliant(false)]
10887 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10888 public static
10889 unsafe int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10890 where T4 : struct
10891 {
10892 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10893 try
10894 {
10895 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10896 }
10897 finally
10898 {
10899 param_value_ptr.Free();
10900 }
10901 }
10902
10903 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10904 public static
10905 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10906 where T4 : struct
10907 {
10908 unsafe
10909 {
10910 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10911 {
10912 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10913 try
10914 {
10915 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10916 }
10917 finally
10918 {
10919 param_value_ptr.Free();
10920 }
10921 }
10922 }
10923 }
10924
10925 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10926 public static
10927 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10928 where T4 : struct
10929 {
10930 unsafe
10931 {
10932 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10933 {
10934 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10935 try
10936 {
10937 int retval = Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10938 param_value_size_ret = *param_value_size_ret_ptr;
10939 return retval;
10940 }
10941 finally
10942 {
10943 param_value_ptr.Free();
10944 }
10945 }
10946 }
10947 }
10948
10949 [System.CLSCompliant(false)]
10950 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10951 public static
10952 unsafe int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
10953 where T4 : struct
10954 {
10955 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10956 try
10957 {
10958 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
10959 }
10960 finally
10961 {
10962 param_value_ptr.Free();
10963 }
10964 }
10965
10966 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10967 public static
10968 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
10969 where T4 : struct
10970 {
10971 unsafe
10972 {
10973 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
10974 {
10975 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10976 try
10977 {
10978 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
10979 }
10980 finally
10981 {
10982 param_value_ptr.Free();
10983 }
10984 }
10985 }
10986 }
10987
10988 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
10989 public static
10990 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
10991 where T4 : struct
10992 {
10993 unsafe
10994 {
10995 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
10996 {
10997 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
10998 try
10999 {
11000 int retval = Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11001 param_value_size_ret = *param_value_size_ret_ptr;
11002 return retval;
11003 }
11004 finally
11005 {
11006 param_value_ptr.Free();
11007 }
11008 }
11009 }
11010 }
11011
11012 [System.CLSCompliant(false)]
11013 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
11014 public static
11015 unsafe int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
11016 where T4 : struct
11017 {
11018 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11019 try
11020 {
11021 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11022 }
11023 finally
11024 {
11025 param_value_ptr.Free();
11026 }
11027 }
11028
11029 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
11030 public static
11031 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11032 where T4 : struct
11033 {
11034 unsafe
11035 {
11036 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11037 {
11038 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11039 try
11040 {
11041 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11042 }
11043 finally
11044 {
11045 param_value_ptr.Free();
11046 }
11047 }
11048 }
11049 }
11050
11051 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
11052 public static
11053 int GetProgramBuildInfo<T4>(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T4[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
11054 where T4 : struct
11055 {
11056 unsafe
11057 {
11058 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11059 {
11060 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11061 try
11062 {
11063 int retval = Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11064 param_value_size_ret = *param_value_size_ret_ptr;
11065 return retval;
11066 }
11067 finally
11068 {
11069 param_value_ptr.Free();
11070 }
11071 }
11072 }
11073 }
11074
11075 [System.CLSCompliant(false)]
11076 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
11077 public static
11078 unsafe int GetProgramBuildInfo(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
11079 {
11080 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
11081 }
11082
11083 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
11084 public static
11085 int GetProgramBuildInfo(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11086 {
11087 unsafe
11088 {
11089 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11090 {
11091 return Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
11092 }
11093 }
11094 }
11095
11096 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramBuildInfo")]
11097 public static
11098 int GetProgramBuildInfo(IntPtr program, IntPtr device, ProgramBuildInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
11099 {
11100 unsafe
11101 {
11102 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11103 {
11104 int retval = Delegates.clGetProgramBuildInfo((IntPtr)program, (IntPtr)device, (ProgramBuildInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
11105 param_value_size_ret = *param_value_size_ret_ptr;
11106 return retval;
11107 }
11108 }
11109 }
11110
11111 [System.CLSCompliant(false)]
11112 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11113 public static
11114 unsafe int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
11115 where T3 : struct
11116 {
11117 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11118 try
11119 {
11120 int retval = Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11121 param_value = (T3)param_value_ptr.Target;
11122 return retval;
11123 }
11124 finally
11125 {
11126 param_value_ptr.Free();
11127 }
11128 }
11129
11130 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11131 public static
11132 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11133 where T3 : struct
11134 {
11135 unsafe
11136 {
11137 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11138 {
11139 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11140 try
11141 {
11142 int retval = Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11143 param_value = (T3)param_value_ptr.Target;
11144 return retval;
11145 }
11146 finally
11147 {
11148 param_value_ptr.Free();
11149 }
11150 }
11151 }
11152 }
11153
11154 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11155 public static
11156 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
11157 where T3 : struct
11158 {
11159 unsafe
11160 {
11161 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11162 {
11163 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11164 try
11165 {
11166 int retval = Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11167 param_value = (T3)param_value_ptr.Target;
11168 param_value_size_ret = *param_value_size_ret_ptr;
11169 return retval;
11170 }
11171 finally
11172 {
11173 param_value_ptr.Free();
11174 }
11175 }
11176 }
11177 }
11178
11179 [System.CLSCompliant(false)]
11180 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11181 public static
11182 unsafe int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
11183 where T3 : struct
11184 {
11185 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11186 try
11187 {
11188 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11189 }
11190 finally
11191 {
11192 param_value_ptr.Free();
11193 }
11194 }
11195
11196 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11197 public static
11198 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11199 where T3 : struct
11200 {
11201 unsafe
11202 {
11203 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11204 {
11205 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11206 try
11207 {
11208 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11209 }
11210 finally
11211 {
11212 param_value_ptr.Free();
11213 }
11214 }
11215 }
11216 }
11217
11218 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11219 public static
11220 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
11221 where T3 : struct
11222 {
11223 unsafe
11224 {
11225 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11226 {
11227 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11228 try
11229 {
11230 int retval = Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11231 param_value_size_ret = *param_value_size_ret_ptr;
11232 return retval;
11233 }
11234 finally
11235 {
11236 param_value_ptr.Free();
11237 }
11238 }
11239 }
11240 }
11241
11242 [System.CLSCompliant(false)]
11243 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11244 public static
11245 unsafe int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
11246 where T3 : struct
11247 {
11248 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11249 try
11250 {
11251 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11252 }
11253 finally
11254 {
11255 param_value_ptr.Free();
11256 }
11257 }
11258
11259 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11260 public static
11261 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11262 where T3 : struct
11263 {
11264 unsafe
11265 {
11266 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11267 {
11268 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11269 try
11270 {
11271 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11272 }
11273 finally
11274 {
11275 param_value_ptr.Free();
11276 }
11277 }
11278 }
11279 }
11280
11281 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11282 public static
11283 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
11284 where T3 : struct
11285 {
11286 unsafe
11287 {
11288 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11289 {
11290 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11291 try
11292 {
11293 int retval = Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11294 param_value_size_ret = *param_value_size_ret_ptr;
11295 return retval;
11296 }
11297 finally
11298 {
11299 param_value_ptr.Free();
11300 }
11301 }
11302 }
11303 }
11304
11305 [System.CLSCompliant(false)]
11306 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11307 public static
11308 unsafe int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
11309 where T3 : struct
11310 {
11311 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11312 try
11313 {
11314 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11315 }
11316 finally
11317 {
11318 param_value_ptr.Free();
11319 }
11320 }
11321
11322 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11323 public static
11324 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11325 where T3 : struct
11326 {
11327 unsafe
11328 {
11329 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11330 {
11331 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11332 try
11333 {
11334 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11335 }
11336 finally
11337 {
11338 param_value_ptr.Free();
11339 }
11340 }
11341 }
11342 }
11343
11344 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11345 public static
11346 int GetProgramInfo<T3>(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
11347 where T3 : struct
11348 {
11349 unsafe
11350 {
11351 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11352 {
11353 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11354 try
11355 {
11356 int retval = Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11357 param_value_size_ret = *param_value_size_ret_ptr;
11358 return retval;
11359 }
11360 finally
11361 {
11362 param_value_ptr.Free();
11363 }
11364 }
11365 }
11366 }
11367
11368 [System.CLSCompliant(false)]
11369 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11370 public static
11371 unsafe int GetProgramInfo(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
11372 {
11373 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
11374 }
11375
11376 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11377 public static
11378 int GetProgramInfo(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11379 {
11380 unsafe
11381 {
11382 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11383 {
11384 return Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
11385 }
11386 }
11387 }
11388
11389 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetProgramInfo")]
11390 public static
11391 int GetProgramInfo(IntPtr program, ProgramInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
11392 {
11393 unsafe
11394 {
11395 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11396 {
11397 int retval = Delegates.clGetProgramInfo((IntPtr)program, (ProgramInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
11398 param_value_size_ret = *param_value_size_ret_ptr;
11399 return retval;
11400 }
11401 }
11402 }
11403
11404 [System.CLSCompliant(false)]
11405 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11406 public static
11407 unsafe int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr* param_value_size_ret)
11408 where T3 : struct
11409 {
11410 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11411 try
11412 {
11413 int retval = Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11414 param_value = (T3)param_value_ptr.Target;
11415 return retval;
11416 }
11417 finally
11418 {
11419 param_value_ptr.Free();
11420 }
11421 }
11422
11423 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11424 public static
11425 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11426 where T3 : struct
11427 {
11428 unsafe
11429 {
11430 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11431 {
11432 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11433 try
11434 {
11435 int retval = Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11436 param_value = (T3)param_value_ptr.Target;
11437 return retval;
11438 }
11439 finally
11440 {
11441 param_value_ptr.Free();
11442 }
11443 }
11444 }
11445 }
11446
11447 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11448 public static
11449 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] ref T3 param_value, [OutAttribute] out IntPtr param_value_size_ret)
11450 where T3 : struct
11451 {
11452 unsafe
11453 {
11454 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11455 {
11456 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11457 try
11458 {
11459 int retval = Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11460 param_value = (T3)param_value_ptr.Target;
11461 param_value_size_ret = *param_value_size_ret_ptr;
11462 return retval;
11463 }
11464 finally
11465 {
11466 param_value_ptr.Free();
11467 }
11468 }
11469 }
11470 }
11471
11472 [System.CLSCompliant(false)]
11473 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11474 public static
11475 unsafe int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
11476 where T3 : struct
11477 {
11478 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11479 try
11480 {
11481 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11482 }
11483 finally
11484 {
11485 param_value_ptr.Free();
11486 }
11487 }
11488
11489 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11490 public static
11491 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11492 where T3 : struct
11493 {
11494 unsafe
11495 {
11496 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11497 {
11498 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11499 try
11500 {
11501 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11502 }
11503 finally
11504 {
11505 param_value_ptr.Free();
11506 }
11507 }
11508 }
11509 }
11510
11511 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11512 public static
11513 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
11514 where T3 : struct
11515 {
11516 unsafe
11517 {
11518 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11519 {
11520 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11521 try
11522 {
11523 int retval = Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11524 param_value_size_ret = *param_value_size_ret_ptr;
11525 return retval;
11526 }
11527 finally
11528 {
11529 param_value_ptr.Free();
11530 }
11531 }
11532 }
11533 }
11534
11535 [System.CLSCompliant(false)]
11536 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11537 public static
11538 unsafe int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr* param_value_size_ret)
11539 where T3 : struct
11540 {
11541 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11542 try
11543 {
11544 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11545 }
11546 finally
11547 {
11548 param_value_ptr.Free();
11549 }
11550 }
11551
11552 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11553 public static
11554 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11555 where T3 : struct
11556 {
11557 unsafe
11558 {
11559 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11560 {
11561 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11562 try
11563 {
11564 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11565 }
11566 finally
11567 {
11568 param_value_ptr.Free();
11569 }
11570 }
11571 }
11572 }
11573
11574 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11575 public static
11576 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[,] param_value, [OutAttribute] out IntPtr param_value_size_ret)
11577 where T3 : struct
11578 {
11579 unsafe
11580 {
11581 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11582 {
11583 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11584 try
11585 {
11586 int retval = Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11587 param_value_size_ret = *param_value_size_ret_ptr;
11588 return retval;
11589 }
11590 finally
11591 {
11592 param_value_ptr.Free();
11593 }
11594 }
11595 }
11596 }
11597
11598 [System.CLSCompliant(false)]
11599 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11600 public static
11601 unsafe int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr* param_value_size_ret)
11602 where T3 : struct
11603 {
11604 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11605 try
11606 {
11607 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret);
11608 }
11609 finally
11610 {
11611 param_value_ptr.Free();
11612 }
11613 }
11614
11615 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11616 public static
11617 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11618 where T3 : struct
11619 {
11620 unsafe
11621 {
11622 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11623 {
11624 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11625 try
11626 {
11627 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11628 }
11629 finally
11630 {
11631 param_value_ptr.Free();
11632 }
11633 }
11634 }
11635 }
11636
11637 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11638 public static
11639 int GetSamplerInfo<T3>(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, [InAttribute, OutAttribute] T3[] param_value, [OutAttribute] out IntPtr param_value_size_ret)
11640 where T3 : struct
11641 {
11642 unsafe
11643 {
11644 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11645 {
11646 GCHandle param_value_ptr = GCHandle.Alloc(param_value, GCHandleType.Pinned);
11647 try
11648 {
11649 int retval = Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value_ptr.AddrOfPinnedObject(), (IntPtr*)param_value_size_ret_ptr);
11650 param_value_size_ret = *param_value_size_ret_ptr;
11651 return retval;
11652 }
11653 finally
11654 {
11655 param_value_ptr.Free();
11656 }
11657 }
11658 }
11659 }
11660
11661 [System.CLSCompliant(false)]
11662 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11663 public static
11664 unsafe int GetSamplerInfo(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr* param_value_size_ret)
11665 {
11666 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret);
11667 }
11668
11669 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11670 public static
11671 int GetSamplerInfo(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] IntPtr[] param_value_size_ret)
11672 {
11673 unsafe
11674 {
11675 fixed (IntPtr* param_value_size_ret_ptr = param_value_size_ret)
11676 {
11677 return Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
11678 }
11679 }
11680 }
11681
11682 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSamplerInfo")]
11683 public static
11684 int GetSamplerInfo(IntPtr sampler, SamplerInfo param_name, IntPtr param_value_size, IntPtr param_value, [OutAttribute] out IntPtr param_value_size_ret)
11685 {
11686 unsafe
11687 {
11688 fixed (IntPtr* param_value_size_ret_ptr = ¶m_value_size_ret)
11689 {
11690 int retval = Delegates.clGetSamplerInfo((IntPtr)sampler, (SamplerInfo)param_name, (IntPtr)param_value_size, (IntPtr)param_value, (IntPtr*)param_value_size_ret_ptr);
11691 param_value_size_ret = *param_value_size_ret_ptr;
11692 return retval;
11693 }
11694 }
11695 }
11696
11697 [System.CLSCompliant(false)]
11698 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSupportedImageFormats")]
11699 public static
11700 unsafe int GetSupportedImageFormats(IntPtr context, MemFlags flags, MemObjectType image_type, Int32 num_entries, ImageFormat* image_formats, Int32* num_image_formats)
11701 {
11702 return Delegates.clGetSupportedImageFormats((IntPtr)context, (MemFlags)flags, (MemObjectType)image_type, (uint)num_entries, (ImageFormat*)image_formats, (uint*)num_image_formats);
11703 }
11704
11705 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSupportedImageFormats")]
11706 public static
11707 int GetSupportedImageFormats(IntPtr context, MemFlags flags, MemObjectType image_type, Int32 num_entries, ImageFormat[] image_formats, Int32[] num_image_formats)
11708 {
11709 unsafe
11710 {
11711 fixed (ImageFormat* image_formats_ptr = image_formats)
11712 fixed (Int32* num_image_formats_ptr = num_image_formats)
11713 {
11714 return Delegates.clGetSupportedImageFormats((IntPtr)context, (MemFlags)flags, (MemObjectType)image_type, (uint)num_entries, (ImageFormat*)image_formats_ptr, (uint*)num_image_formats_ptr);
11715 }
11716 }
11717 }
11718
11719 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSupportedImageFormats")]
11720 public static
11721 int GetSupportedImageFormats(IntPtr context, MemFlags flags, MemObjectType image_type, Int32 num_entries, ref ImageFormat image_formats, ref Int32 num_image_formats)
11722 {
11723 unsafe
11724 {
11725 fixed (ImageFormat* image_formats_ptr = &image_formats)
11726 fixed (Int32* num_image_formats_ptr = &num_image_formats)
11727 {
11728 return Delegates.clGetSupportedImageFormats((IntPtr)context, (MemFlags)flags, (MemObjectType)image_type, (uint)num_entries, (ImageFormat*)image_formats_ptr, (uint*)num_image_formats_ptr);
11729 }
11730 }
11731 }
11732
11733 [System.CLSCompliant(false)]
11734 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSupportedImageFormats")]
11735 public static
11736 unsafe int GetSupportedImageFormats(IntPtr context, MemFlags flags, MemObjectType image_type, uint num_entries, ImageFormat* image_formats, uint* num_image_formats)
11737 {
11738 return Delegates.clGetSupportedImageFormats((IntPtr)context, (MemFlags)flags, (MemObjectType)image_type, (uint)num_entries, (ImageFormat*)image_formats, (uint*)num_image_formats);
11739 }
11740
11741 [System.CLSCompliant(false)]
11742 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSupportedImageFormats")]
11743 public static
11744 int GetSupportedImageFormats(IntPtr context, MemFlags flags, MemObjectType image_type, uint num_entries, ImageFormat[] image_formats, uint[] num_image_formats)
11745 {
11746 unsafe
11747 {
11748 fixed (ImageFormat* image_formats_ptr = image_formats)
11749 fixed (uint* num_image_formats_ptr = num_image_formats)
11750 {
11751 return Delegates.clGetSupportedImageFormats((IntPtr)context, (MemFlags)flags, (MemObjectType)image_type, (uint)num_entries, (ImageFormat*)image_formats_ptr, (uint*)num_image_formats_ptr);
11752 }
11753 }
11754 }
11755
11756 [System.CLSCompliant(false)]
11757 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clGetSupportedImageFormats")]
11758 public static
11759 int GetSupportedImageFormats(IntPtr context, MemFlags flags, MemObjectType image_type, uint num_entries, ref ImageFormat image_formats, ref uint num_image_formats)
11760 {
11761 unsafe
11762 {
11763 fixed (ImageFormat* image_formats_ptr = &image_formats)
11764 fixed (uint* num_image_formats_ptr = &num_image_formats)
11765 {
11766 return Delegates.clGetSupportedImageFormats((IntPtr)context, (MemFlags)flags, (MemObjectType)image_type, (uint)num_entries, (ImageFormat*)image_formats_ptr, (uint*)num_image_formats_ptr);
11767 }
11768 }
11769 }
11770
11771 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clReleaseCommandQueue")]
11772 public static
11773 int ReleaseCommandQueue(IntPtr command_queue)
11774 {
11775 return Delegates.clReleaseCommandQueue((IntPtr)command_queue);
11776 }
11777
11778 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clReleaseContext")]
11779 public static
11780 int ReleaseContext(IntPtr context)
11781 {
11782 return Delegates.clReleaseContext((IntPtr)context);
11783 }
11784
11785 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clReleaseEvent")]
11786 public static
11787 int ReleaseEvent(IntPtr @event)
11788 {
11789 return Delegates.clReleaseEvent((IntPtr)@event);
11790 }
11791
11792 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clReleaseKernel")]
11793 public static
11794 int ReleaseKernel(IntPtr kernel)
11795 {
11796 return Delegates.clReleaseKernel((IntPtr)kernel);
11797 }
11798
11799 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clReleaseMemObject")]
11800 public static
11801 int ReleaseMemObject(IntPtr memobj)
11802 {
11803 return Delegates.clReleaseMemObject((IntPtr)memobj);
11804 }
11805
11806 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clReleaseProgram")]
11807 public static
11808 int ReleaseProgram(IntPtr program)
11809 {
11810 return Delegates.clReleaseProgram((IntPtr)program);
11811 }
11812
11813 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clReleaseSampler")]
11814 public static
11815 int ReleaseSampler(IntPtr sampler)
11816 {
11817 return Delegates.clReleaseSampler((IntPtr)sampler);
11818 }
11819
11820 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clRetainCommandQueue")]
11821 public static
11822 int RetainCommandQueue(IntPtr command_queue)
11823 {
11824 return Delegates.clRetainCommandQueue((IntPtr)command_queue);
11825 }
11826
11827 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clRetainContext")]
11828 public static
11829 int RetainContext(IntPtr context)
11830 {
11831 return Delegates.clRetainContext((IntPtr)context);
11832 }
11833
11834 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clRetainEvent")]
11835 public static
11836 int RetainEvent(IntPtr @event)
11837 {
11838 return Delegates.clRetainEvent((IntPtr)@event);
11839 }
11840
11841 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clRetainKernel")]
11842 public static
11843 int RetainKernel(IntPtr kernel)
11844 {
11845 return Delegates.clRetainKernel((IntPtr)kernel);
11846 }
11847
11848 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clRetainMemObject")]
11849 public static
11850 int RetainMemObject(IntPtr memobj)
11851 {
11852 return Delegates.clRetainMemObject((IntPtr)memobj);
11853 }
11854
11855 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clRetainProgram")]
11856 public static
11857 int RetainProgram(IntPtr program)
11858 {
11859 return Delegates.clRetainProgram((IntPtr)program);
11860 }
11861
11862 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clRetainSampler")]
11863 public static
11864 int RetainSampler(IntPtr sampler)
11865 {
11866 return Delegates.clRetainSampler((IntPtr)sampler);
11867 }
11868
11869 [System.CLSCompliant(false)]
11870 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetCommandQueueProperty")]
11871 public static
11872 unsafe int SetCommandQueueProperty(IntPtr command_queue, CommandQueueFlags properties, bool enable, CommandQueueFlags* old_properties)
11873 {
11874 return Delegates.clSetCommandQueueProperty((IntPtr)command_queue, (CommandQueueFlags)properties, (bool)enable, (CommandQueueFlags*)old_properties);
11875 }
11876
11877 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetCommandQueueProperty")]
11878 public static
11879 int SetCommandQueueProperty(IntPtr command_queue, CommandQueueFlags properties, bool enable, CommandQueueFlags[] old_properties)
11880 {
11881 unsafe
11882 {
11883 fixed (CommandQueueFlags* old_properties_ptr = old_properties)
11884 {
11885 return Delegates.clSetCommandQueueProperty((IntPtr)command_queue, (CommandQueueFlags)properties, (bool)enable, (CommandQueueFlags*)old_properties_ptr);
11886 }
11887 }
11888 }
11889
11890 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetCommandQueueProperty")]
11891 public static
11892 int SetCommandQueueProperty(IntPtr command_queue, CommandQueueFlags properties, bool enable, ref CommandQueueFlags old_properties)
11893 {
11894 unsafe
11895 {
11896 fixed (CommandQueueFlags* old_properties_ptr = &old_properties)
11897 {
11898 return Delegates.clSetCommandQueueProperty((IntPtr)command_queue, (CommandQueueFlags)properties, (bool)enable, (CommandQueueFlags*)old_properties_ptr);
11899 }
11900 }
11901 }
11902
11903 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
11904 public static
11905 int SetKernelArg<T3>(IntPtr kernel, Int32 arg_index, IntPtr arg_size, [InAttribute, OutAttribute] ref T3 arg_value)
11906 where T3 : struct
11907 {
11908 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
11909 try
11910 {
11911 int retval = Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
11912 arg_value = (T3)arg_value_ptr.Target;
11913 return retval;
11914 }
11915 finally
11916 {
11917 arg_value_ptr.Free();
11918 }
11919 }
11920
11921 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
11922 public static
11923 int SetKernelArg<T3>(IntPtr kernel, Int32 arg_index, IntPtr arg_size, [InAttribute, OutAttribute] T3[,,] arg_value)
11924 where T3 : struct
11925 {
11926 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
11927 try
11928 {
11929 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
11930 }
11931 finally
11932 {
11933 arg_value_ptr.Free();
11934 }
11935 }
11936
11937 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
11938 public static
11939 int SetKernelArg<T3>(IntPtr kernel, Int32 arg_index, IntPtr arg_size, [InAttribute, OutAttribute] T3[,] arg_value)
11940 where T3 : struct
11941 {
11942 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
11943 try
11944 {
11945 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
11946 }
11947 finally
11948 {
11949 arg_value_ptr.Free();
11950 }
11951 }
11952
11953 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
11954 public static
11955 int SetKernelArg<T3>(IntPtr kernel, Int32 arg_index, IntPtr arg_size, [InAttribute, OutAttribute] T3[] arg_value)
11956 where T3 : struct
11957 {
11958 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
11959 try
11960 {
11961 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
11962 }
11963 finally
11964 {
11965 arg_value_ptr.Free();
11966 }
11967 }
11968
11969 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
11970 public static
11971 int SetKernelArg(IntPtr kernel, Int32 arg_index, IntPtr arg_size, IntPtr arg_value)
11972 {
11973 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value);
11974 }
11975
11976 [System.CLSCompliant(false)]
11977 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
11978 public static
11979 int SetKernelArg<T3>(IntPtr kernel, uint arg_index, IntPtr arg_size, [InAttribute, OutAttribute] ref T3 arg_value)
11980 where T3 : struct
11981 {
11982 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
11983 try
11984 {
11985 int retval = Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
11986 arg_value = (T3)arg_value_ptr.Target;
11987 return retval;
11988 }
11989 finally
11990 {
11991 arg_value_ptr.Free();
11992 }
11993 }
11994
11995 [System.CLSCompliant(false)]
11996 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
11997 public static
11998 int SetKernelArg<T3>(IntPtr kernel, uint arg_index, IntPtr arg_size, [InAttribute, OutAttribute] T3[,,] arg_value)
11999 where T3 : struct
12000 {
12001 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
12002 try
12003 {
12004 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
12005 }
12006 finally
12007 {
12008 arg_value_ptr.Free();
12009 }
12010 }
12011
12012 [System.CLSCompliant(false)]
12013 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
12014 public static
12015 int SetKernelArg<T3>(IntPtr kernel, uint arg_index, IntPtr arg_size, [InAttribute, OutAttribute] T3[,] arg_value)
12016 where T3 : struct
12017 {
12018 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
12019 try
12020 {
12021 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
12022 }
12023 finally
12024 {
12025 arg_value_ptr.Free();
12026 }
12027 }
12028
12029 [System.CLSCompliant(false)]
12030 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
12031 public static
12032 int SetKernelArg<T3>(IntPtr kernel, uint arg_index, IntPtr arg_size, [InAttribute, OutAttribute] T3[] arg_value)
12033 where T3 : struct
12034 {
12035 GCHandle arg_value_ptr = GCHandle.Alloc(arg_value, GCHandleType.Pinned);
12036 try
12037 {
12038 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value_ptr.AddrOfPinnedObject());
12039 }
12040 finally
12041 {
12042 arg_value_ptr.Free();
12043 }
12044 }
12045
12046 [System.CLSCompliant(false)]
12047 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clSetKernelArg")]
12048 public static
12049 int SetKernelArg(IntPtr kernel, uint arg_index, IntPtr arg_size, IntPtr arg_value)
12050 {
12051 return Delegates.clSetKernelArg((IntPtr)kernel, (uint)arg_index, (IntPtr)arg_size, (IntPtr)arg_value);
12052 }
12053
12054 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clUnloadCompiler")]
12055 public static
12056 int UnloadCompiler()
12057 {
12058 return Delegates.clUnloadCompiler();
12059 }
12060
12061 [System.CLSCompliant(false)]
12062 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clWaitForEvents")]
12063 public static
12064 unsafe int WaitForEvents(Int32 num_events, IntPtr* event_list)
12065 {
12066 return Delegates.clWaitForEvents((uint)num_events, (IntPtr*)event_list);
12067 }
12068
12069 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clWaitForEvents")]
12070 public static
12071 int WaitForEvents(Int32 num_events, IntPtr[] event_list)
12072 {
12073 unsafe
12074 {
12075 fixed (IntPtr* event_list_ptr = event_list)
12076 {
12077 return Delegates.clWaitForEvents((uint)num_events, (IntPtr*)event_list_ptr);
12078 }
12079 }
12080 }
12081
12082 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clWaitForEvents")]
12083 public static
12084 int WaitForEvents(Int32 num_events, ref IntPtr event_list)
12085 {
12086 unsafe
12087 {
12088 fixed (IntPtr* event_list_ptr = &event_list)
12089 {
12090 return Delegates.clWaitForEvents((uint)num_events, (IntPtr*)event_list_ptr);
12091 }
12092 }
12093 }
12094
12095 [System.CLSCompliant(false)]
12096 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clWaitForEvents")]
12097 public static
12098 unsafe int WaitForEvents(uint num_events, IntPtr* event_list)
12099 {
12100 return Delegates.clWaitForEvents((uint)num_events, (IntPtr*)event_list);
12101 }
12102
12103 [System.CLSCompliant(false)]
12104 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clWaitForEvents")]
12105 public static
12106 int WaitForEvents(uint num_events, IntPtr[] event_list)
12107 {
12108 unsafe
12109 {
12110 fixed (IntPtr* event_list_ptr = event_list)
12111 {
12112 return Delegates.clWaitForEvents((uint)num_events, (IntPtr*)event_list_ptr);
12113 }
12114 }
12115 }
12116
12117 [System.CLSCompliant(false)]
12118 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "clWaitForEvents")]
12119 public static
12120 int WaitForEvents(uint num_events, ref IntPtr event_list)
12121 {
12122 unsafe
12123 {
12124 fixed (IntPtr* event_list_ptr = &event_list)
12125 {
12126 return Delegates.clWaitForEvents((uint)num_events, (IntPtr*)event_list_ptr);
12127 }
12128 }
12129 }
12130
12131 }
12132 }
12133 #endif