org.bigml.mimir.math.gpu.Device.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mimir Show documentation
Show all versions of mimir Show documentation
Java/Clojure Prediction Code for BigML
The newest version!
???? 7L . ? ? . ?
. ? ?
. ? ? ?
? . ?
? ~ ? ~ ? ~ ? ?
?
W ? . ? ?
. ? . ?
. ? . ?
. ? . ?
. ? . ? ?
? . ?
? . ? ?
! ? . ? ? ? ?
% ? ? ? ? ? ? ?
? ? ? ?
. ? ?
? ?
3 ? ?
3 ? . ? ?
?
. ?
?
? ? ?
@ ? ? ?
? ?
? ?
? ?
? ?
? ?
? ?
@ ? ? ?
J ?
. ?????????
? ? @
@ ?
? ? ? _isGPU Z _maxLocalWorkSize J _maxLocalMemory _version F _name Ljava/lang/String; _deviceId Lorg/jocl/cl_device_id; _context Lorg/jocl/cl_context; _queue Lorg/jocl/cl_command_queue; _programs Ljava/util/Map; Signature ? Type InnerClasses ZLjava/util/Map; DTYPES [J _devices "[Lorg/bigml/mimir/math/gpu/Device; isOpenCLLoaded getDevice $(I)Lorg/bigml/mimir/math/gpu/Device; Code LineNumberTable numberOfDevices ()I openCLStatus ()Ljava/lang/String;
StackMapTable
getGPUIndices ()[I ? ? ;(Lorg/jocl/cl_device_id;Lorg/jocl/cl_context_properties;Z)V
getProgram K(Lorg/bigml/mimir/math/gpu/Program$Type;)Lorg/bigml/mimir/math/gpu/Program;
getVersion ()F getName
getContext ()Lorg/jocl/cl_context; getMaxLocalWorkSize ()J getMaxLocalMemory getQueue ()Lorg/jocl/cl_command_queue; toString
loadOpenCL ()V ? o ? getString ,(Lorg/jocl/cl_device_id;I)Ljava/lang/String; getInt (Lorg/jocl/cl_device_id;I)J ? getCount /(Ljava/lang/String;Lorg/jocl/cl_platform_id;J)I getLocalWorkSize (Lorg/jocl/cl_device_id;)J getDeviceLocalMemory getOpenCLVersion (Lorg/jocl/cl_device_id;)F
SourceFile Device.java p q OpenCL was not found.
r Y w x BootstrapMethods ? z java/util/ArrayList ? ? X Y
x java/lang/Integer
x a b org/jocl/CL ? ? _ ` ? ? Z [ ? ? \ [ ? ? ] ^ org/jocl/cl_device_id c d e f java/util/HashMap g h org/bigml/mimir/math/gpu/Program ? (GPU device, (CPU device, java/lang/UnsatisfiedLinkError org/bigml/mimir/math/gpu/Device platforms ? ? org/jocl/cl_platform_id org/jocl/cl_context_properties n o devices!" ? ?#$%&' java/lang/String ?()*+,-./012&3 ?4567 "java/lang/IllegalArgumentException89 ?: ? ?;<=>?@AB java/lang/Object %org/bigml/mimir/math/gpu/Program$Type java/util/List [I [Lorg/jocl/cl_platform_id; [Lorg/jocl/cl_device_id; java/nio/ByteBuffer
CD 9OpenCL was found and there are OpenCL-capable devices.
makeConcatWithConstants (I)Ljava/lang/String; []
9(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String; valueOf (I)Ljava/lang/Integer; add (Ljava/lang/Object;)Z size get (I)Ljava/lang/Object; intValue clCreateContext ?(Lorg/jocl/cl_context_properties;I[Lorg/jocl/cl_device_id;Lorg/jocl/CreateContextFunction;Ljava/lang/Object;[I)Lorg/jocl/cl_context; clCreateCommandQueue L(Lorg/jocl/cl_context;Lorg/jocl/cl_device_id;J[I)Lorg/jocl/cl_command_queue;
java/util/Map &(Ljava/lang/Object;)Ljava/lang/Object; K(Lorg/bigml/mimir/math/gpu/Program$Type;Lorg/bigml/mimir/math/gpu/Device;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; version ) '(Ljava/lang/String;F)Ljava/lang/String; setExceptionsEnabled (Z)V clGetPlatformIDs (I[Lorg/jocl/cl_platform_id;[I)I addProperty (JLorg/jocl/cl_platform_id;)V clGetDeviceIDs 8(Lorg/jocl/cl_platform_id;JI[Lorg/jocl/cl_device_id;[I)I clGetDeviceInfo 0(Lorg/jocl/cl_device_id;IJLorg/jocl/Pointer;[J)I org/jocl/Pointer to ([B)Lorg/jocl/Pointer; ([BII)V org/jocl/Sizeof size_t I allocate (I)Ljava/nio/ByteBuffer; java/nio/ByteOrder nativeOrder ()Ljava/nio/ByteOrder; order +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer; %(Ljava/nio/Buffer;)Lorg/jocl/Pointer; (I)I getLong (I)J equals can't be counted! &(Ljava/lang/String;)Ljava/lang/String; (Ljava/lang/String;)V java/lang/Math round (D)J substring (II)Ljava/lang/String; java/lang/Float
parseFloat (Ljava/lang/String;)FEH $java/lang/invoke/StringConcatFactoryJ Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;K %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! . W X Y Z [ \ [ ] ^ _ ` a b c d e f g h i m n o
p q
r Y s t u ? 2? v / w x u ? ?? v 8 y z u { 5K? ? -? ? K<? ? ? 2M*,? ? K????*? v " C E F I J ! K - I 3 O { ? @? | } u ? [? Y? K<? ?? ? 2?
? *? ? W????*?
?
L=*?
? +*? ? ? O????+? v X Y Z ( Y . \ 7 ] Y _ { ?
~? ?
? ? ? u ? u*? *+? **? +? ? *?
**? ? ? **? ? ? **? ? ? ? Y*? S:*,? ? **? *? ? ? *? !Y? "? #? v 2 d f g h i ' j 2 k = m J n X o i q t r ? ? u ` **? #+? $ ? %M,? ? %Y+*? &M*? #+,? ' W,? v u w x y ( | { ? ( % ? ? u *? ? v ? ? z u *? ? v ? ? ? u *? ? v ? ? ? u *? ? v ? ? ? u *? ? v ? ? ? u *? ? v ? ? z u v '*? L+*?
? (? )? * L+*? ? + L+? v ? ? ? % ? { % ? . @ @? . @ @ @ ? ? u Y ? ,? ? K? .? ? ? ? ?? Y? K/ ? 0<? 1M,?,? 2W,N-?66? ?-2:? 3Y? 4: 5? 7? 8:?6 6
? s
/79? 06
? :
? :W ;?? ? 6:?66? $2:*? .Y? =? W???ۄ
??????Y*?
? .? >? ?? ? *? ? .S???? - v v ? ? ? ? ? ? ? ? % ? - ? 2 ? : ? P ? Y ? c ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? { ? K -? + ~ ? ? ? , ~ ? ? 1 3 ? ? 9 ?@?
~ ? ? 1 3 ? ? ? ? ' ~ ? ? 1 3 ? ? ~ ? ? ? ?
?
? ? u X 0?M* ,? >W,/??N*-??-? ?? >W? @Y--?d? A? v ? ?
? ? " ?
? ? u i .? B=? C? D? EN*?-? F? >W?
-? G??-? H? v ? ? ? ? ? ( ? { ? ( ?
? ? u ? B?
:*/? I? ? 2W? '*9? I? + ? :W? ? JY*? K ? L?.? v ? ? ? ? ? / ? = {
?
? ? u 6 *? M@? Nk? P Qm Qi? v
? ? u *#? M? v
? ? u <