uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
22
pkgs/tools/system/opencl-info/opencl-info-clhpp2.diff
Normal file
22
pkgs/tools/system/opencl-info/opencl-info-clhpp2.diff
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
diff --git a/opencl-info.cpp b/opencl-info.cpp
|
||||
index a23015d..a6de0c1 100644
|
||||
--- a/opencl-info.cpp
|
||||
+++ b/opencl-info.cpp
|
||||
@@ -7,7 +7,7 @@
|
||||
#if defined(__APPLE__) || defined(__MACOSX)
|
||||
# include <OpenCL/cl.hpp>
|
||||
#else
|
||||
-# include <CL/cl.hpp>
|
||||
+# include <CL/cl2.hpp>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
@@ -130,7 +130,7 @@ int main() {
|
||||
PconstEnd;
|
||||
P(device, CL_DEVICE_LOCAL_MEM_SIZE);
|
||||
Pbool(device, CL_DEVICE_ERROR_CORRECTION_SUPPORT);
|
||||
- Pbool(device, CL_DEVICE_HOST_UNIFIED_MEMORY);
|
||||
+ // Pbool(device, CL_DEVICE_HOST_UNIFIED_MEMORY); /* Deprecated in 2.0 */
|
||||
P(device, CL_DEVICE_PROFILING_TIMER_RESOLUTION);
|
||||
Pbool(device, CL_DEVICE_ENDIAN_LITTLE);
|
||||
Pbool(device, CL_DEVICE_AVAILABLE);
|
||||
Loading…
Add table
Add a link
Reference in a new issue