Benutzer-Werkzeuge

Webseiten-Werkzeuge


tcsh

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
tcsh [2012/12/21 00:29] – TcnZwTLLTULcSs 194.71.15.242tcsh [2012/12/21 09:56] (aktuell) – alte Version wieder hergestellt (2011/01/17 14:09) 79.237.241.109
Zeile 1: Zeile 1:
-i tried to follow the emxpale above, this is what i got.  i wonder how to enable cl_khr_byte_addressable_store ??scala> val result a.map(x =>cos(x / 100.0f).toFloat).zipWithIndexcom.nativelibs4java.opencl.CLBuildException: Compilation failure : CL_BUILD_PROGRAM_FAILUREC:\Users\vince\AppData\Local\Temp\OCLD7A4.tmp.cl(2): error: can't enable all          OpenCL extensions or unrecognized OpenCL extension              #pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable                                                                       ^C:\Users\vince\AppData\Local\Temp\OCLD7A4.tmp.cl(12): warning:          double-precision constant is represented as single-precision          constant because double is not enabled              out0[0] = ((float)cos((float)(in0 100.0)));                                                  ^C:\Users\vince\AppData\Local\Temp\OCLD7A4.tmp.cl(15): error: can't enable all          OpenCL extensions or unrecognized OpenCL extension              #pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable                                                                       ^C:\Users\vince\AppData\Local\Temp\OCLD7A4.tmp.cl(29): warning:          double-precision constant is represented as single-precision          constant because double is not enabled              out0[__cl_i] ((float)cos((float)(in0[__cl_i] / 100.0)));                                                               ^C:\Users\vince\AppData\Local\Temp\OCLD7A4.tmp.cl(46): warning:          double-precision constant is represented as single-precision          constant because double is not enabled              out0[__cl_i] ((float)cos((float)(in0[__cl_i] / 100.0)));                                                               ^C:\Users\vince\AppData\Local\Temp\OCLD7A4.tmp.cl(61): warning:          double-precision constant is represented as single-precision          constant because double is not enabled              out0[__cl_i] ((float)cos((float)((in0[0] + (__cl_i) * in0[2]) / 100.0)));                                                                                ^2 errors detected in the compilation of  C:\Users\vince\AppData\Local\Temp\OCLD7A4.tmp.cl .        at com.nativelibs4java.opencl.CLProgram.build(CLProgram.java:691)        at com.nativelibs4java.opencl.CLProgram.createKernels(CLProgram.java:724)        at scalacl.impl.CLCode$$anonfun$getProgramAndKernels$1.apply(CLCode.scala:35)        at scalacl.impl.CLCode$$anonfun$getProgramAndKernels$1.apply(CLCode.scala:25)        at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:188)        at scala.collection.mutable.HashMap.getOrElseUpdate(HashMap.scala:43)        at scalacl.impl.CLCode$class.getProgramAndKernels(CLCode.scala:23)        at scalacl.impl.CLFunction.getProgramAndKernels(CLFunction.scala:49)        at scalacl.impl.CLCode$class.getKernel(CLCode.scala:48)        at scalacl.impl.CLFunction.getKernel(CLFunction.scala:49)        at scalacl.impl.CLFunction.run(CLFunction.scala:264)        at scalacl.impl.CLRunnable$$anonfun$run$5.apply(CLFunction.scala:30)        at scalacl.impl.CLRunnable$$anonfun$run$5.apply(CLFunction.scala:29)        at scalacl.impl.CLEventBound$.recursiveSync$1(CLEventBound.scala:76)        at scalacl.impl.CLEventBound$.recursiveSync$1(CLEventBound.scala:78)        at scalacl.impl.CLEventBound$.syncBlock(CLEventBound.scala:97)        at scalacl.impl.CLRunnable$class.run(CLFunction.scala:26)        at scalacl.impl.CLFunction.run(CLFunction.scala:49)        at scalacl.MappableToCLArray$class.map(CLArray.scala:71)        at scalacl.CLRange.map(CLRange.scala:52)        at scalacl.CLCollectionLike$class.map(CLCollection.scala:77)        at scalacl.CLRange.map(CLRange.scala:52)        at .(:15)        at .()        at .(:11)        at .()        at $export()        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597       at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:592)        at scala.tools.nsc.interpreter.IMain$Request$$anonfun$10.apply(IMain.scala:828)        at scala.tools.nsc.interpreter.Line$$anonfun$1.apply$mcV$sp(Line.scala:43)        at scala.tools.nsc.io.package$$anon$2.run(package.scala:31)        at java.lang.Thread.run(Thread.java:662)scala>+====== TCSH ====== 
 +===== Pipes und Redirection ===== 
 +==== STDOUT und STDERR in eine Datei umleiten ==== 
 +<code lang=tcsh> 
 +cmd >& file.log 
 +</code> 
 +==== STDOUT und STDERR in verschiedene Dateien umleiten ==== 
 +<code lang=tcsh> 
 +program > outfile ) >& errfile 
 +</code> 
 + 
tcsh.txt · Zuletzt geändert: 2012/12/21 09:56 von 79.237.241.109