opencl_ruby_ffi 0.993 → 0.994
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/opencl_ruby_ffi/Buffer.rb +13 -13
- data/lib/opencl_ruby_ffi/CommandQueue.rb +177 -177
- data/lib/opencl_ruby_ffi/Context.rb +11 -13
- data/lib/opencl_ruby_ffi/Device.rb +20 -20
- data/lib/opencl_ruby_ffi/Event.rb +22 -20
- data/lib/opencl_ruby_ffi/Image.rb +42 -42
- data/lib/opencl_ruby_ffi/Kernel.rb +28 -28
- data/lib/opencl_ruby_ffi/Mem.rb +9 -8
- data/lib/opencl_ruby_ffi/Pipe.rb +5 -5
- data/lib/opencl_ruby_ffi/Platform.rb +17 -17
- data/lib/opencl_ruby_ffi/Program.rb +32 -32
- data/lib/opencl_ruby_ffi/SVM.rb +42 -42
- data/lib/opencl_ruby_ffi/Sampler.rb +14 -14
- data/lib/opencl_ruby_ffi/opencl_ruby_ffi_base.rb +29 -29
- data/lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb +1 -55
- data/opencl_ruby_ffi.gemspec +2 -2
- metadata +3 -3
@@ -2645,14 +2645,12 @@ module OpenCL
|
|
2645
2645
|
class Device
|
2646
2646
|
# Bitfield that maps the :cl_device_type type
|
2647
2647
|
class Type < Bitfield
|
2648
|
-
#:stopdoc:
|
2649
2648
|
DEFAULT = (1 << 0)
|
2650
2649
|
CPU = (1 << 1)
|
2651
2650
|
GPU = (1 << 2)
|
2652
2651
|
ACCELERATOR = (1 << 3)
|
2653
2652
|
CUSTOM = (1 << 4)
|
2654
2653
|
ALL = 0xFFFFFFFF
|
2655
|
-
#:startdoc:
|
2656
2654
|
# Returns an Array of String representing the different flags set
|
2657
2655
|
def names
|
2658
2656
|
fs = []
|
@@ -2665,7 +2663,6 @@ module OpenCL
|
|
2665
2663
|
|
2666
2664
|
# Bitfield that maps the :cl_device_fp_config type
|
2667
2665
|
class FPConfig < Bitfield
|
2668
|
-
#:stopdoc:
|
2669
2666
|
DENORM = (1 << 0)
|
2670
2667
|
INF_NAN = (1 << 1)
|
2671
2668
|
ROUND_TO_NEAREST = (1 << 2)
|
@@ -2674,7 +2671,6 @@ module OpenCL
|
|
2674
2671
|
FMA = (1 << 5)
|
2675
2672
|
SOFT_FLOAT = (1 << 6)
|
2676
2673
|
CORRECTLY_ROUNDED_DIVIDE_SQRT = (1 << 7)
|
2677
|
-
#:startdoc:
|
2678
2674
|
# Returns an Array of String representing the different flags set
|
2679
2675
|
def names
|
2680
2676
|
fs = []
|
@@ -2687,10 +2683,8 @@ module OpenCL
|
|
2687
2683
|
|
2688
2684
|
# Bitfield that maps the :cl_device_exec_capabilities type
|
2689
2685
|
class ExecCapabilities < Bitfield
|
2690
|
-
#:stopdoc:
|
2691
2686
|
KERNEL = (1 << 0)
|
2692
2687
|
NATIVE_KERNEL = (1 << 1)
|
2693
|
-
#:startdoc:
|
2694
2688
|
# Returns an Array of String representing the different flags set
|
2695
2689
|
def names
|
2696
2690
|
fs = []
|
@@ -2703,14 +2697,12 @@ module OpenCL
|
|
2703
2697
|
|
2704
2698
|
# Enum that maps the :cl_device_mem_cache_type type
|
2705
2699
|
class MemCacheType < Enum
|
2706
|
-
#:stopdoc:
|
2707
2700
|
NONE = 0x0
|
2708
2701
|
READ_ONLY_CACHE = 0x1
|
2709
2702
|
READ_WRITE_CACHE = 0x2
|
2710
2703
|
@@codes[0x0] = 'NONE'
|
2711
2704
|
@@codes[0x1] = 'READ_ONLY_CACHE'
|
2712
2705
|
@@codes[0x2] = 'READ_WRITE_CACHE'
|
2713
|
-
#:startdoc:
|
2714
2706
|
# Returns a String representing the Enum value name
|
2715
2707
|
def name
|
2716
2708
|
return @@codes[@val]
|
@@ -2719,12 +2711,10 @@ module OpenCL
|
|
2719
2711
|
|
2720
2712
|
# Enum that maps the :cl_device_local_mem_type type
|
2721
2713
|
class LocalMemType < Enum
|
2722
|
-
#:stopdoc:
|
2723
2714
|
LOCAL = 0x1
|
2724
2715
|
GLOBAL = 0x2
|
2725
2716
|
@@codes[0x1] = 'LOCAL'
|
2726
2717
|
@@codes[0x2] = 'GLOBAL'
|
2727
|
-
#:startdoc:
|
2728
2718
|
# Returns a String representing the Enum value name
|
2729
2719
|
def name
|
2730
2720
|
return @@codes[@val]
|
@@ -2733,14 +2723,12 @@ module OpenCL
|
|
2733
2723
|
|
2734
2724
|
# Bitfield that maps the :cl_device_affinity_domain type
|
2735
2725
|
class AffinityDomain < Bitfield
|
2736
|
-
#:stopdoc:
|
2737
2726
|
NUMA = (1 << 0)
|
2738
2727
|
L4_CACHE = (1 << 1)
|
2739
2728
|
L3_CACHE = (1 << 2)
|
2740
2729
|
L2_CACHE = (1 << 3)
|
2741
2730
|
L1_CACHE = (1 << 4)
|
2742
2731
|
NEXT_PARTITIONABLE = (1 << 5)
|
2743
|
-
#:startdoc:
|
2744
2732
|
# Returns an Array of String representing the different flags set
|
2745
2733
|
def names
|
2746
2734
|
fs = []
|
@@ -2753,12 +2741,10 @@ module OpenCL
|
|
2753
2741
|
|
2754
2742
|
# Bitfield that maps the :cl_device_svm_capabilities
|
2755
2743
|
class SVMCapabilities < Bitfield
|
2756
|
-
#:stopdoc:
|
2757
2744
|
COARSE_GRAIN_BUFFER = (1 << 0)
|
2758
2745
|
FINE_GRAIN_BUFFER = (1 << 1)
|
2759
2746
|
FINE_GRAIN_SYSTEM = (1 << 2)
|
2760
2747
|
ATOMICS = (1 << 3)
|
2761
|
-
#:startdoc:
|
2762
2748
|
# Returns an Array of String representing the different flags set
|
2763
2749
|
def names
|
2764
2750
|
fs = []
|
@@ -2853,12 +2839,10 @@ module OpenCL
|
|
2853
2839
|
|
2854
2840
|
class CommandQueue
|
2855
2841
|
class Properties < Bitfield
|
2856
|
-
#:stopdoc:
|
2857
2842
|
OUT_OF_ORDER_EXEC_MODE_ENABLE = (1 << 0)
|
2858
2843
|
PROFILING_ENABLE = (1 << 1)
|
2859
2844
|
ON_DEVICE = (1 << 2)
|
2860
2845
|
ON_DEVICE_DEFAULT = (1 << 3)
|
2861
|
-
#:startdoc:
|
2862
2846
|
# Returns an Array of String representing the different flags set
|
2863
2847
|
def names
|
2864
2848
|
fs = []
|
@@ -2939,7 +2923,6 @@ module OpenCL
|
|
2939
2923
|
class Mem
|
2940
2924
|
# Bitfield that maps the :cl_mem_flags type
|
2941
2925
|
class Flags < Bitfield
|
2942
|
-
#:stopdoc:
|
2943
2926
|
READ_WRITE = (1 << 0)
|
2944
2927
|
WRITE_ONLY = (1 << 1)
|
2945
2928
|
READ_ONLY = (1 << 2)
|
@@ -2949,7 +2932,6 @@ module OpenCL
|
|
2949
2932
|
HOST_WRITE_ONLY = (1 << 7)
|
2950
2933
|
HOST_READ_ONLY = (1 << 8)
|
2951
2934
|
HOST_NO_ACCESS = (1 << 9)
|
2952
|
-
#:startdoc:
|
2953
2935
|
# Returns an Array of String representing the different flags set
|
2954
2936
|
def names
|
2955
2937
|
fs = []
|
@@ -2962,10 +2944,8 @@ module OpenCL
|
|
2962
2944
|
|
2963
2945
|
# Bitfield that maps the :cl_mem_migration_flags type
|
2964
2946
|
class MigrationFlags < Bitfield
|
2965
|
-
#:stopdoc:
|
2966
2947
|
HOST = (1 << 0)
|
2967
2948
|
CONTENT_UNDEFINED = (1 << 1)
|
2968
|
-
#:startdoc:
|
2969
2949
|
# Returns an Array of String representing the different flags set
|
2970
2950
|
def names
|
2971
2951
|
fs = []
|
@@ -2978,7 +2958,6 @@ module OpenCL
|
|
2978
2958
|
|
2979
2959
|
# Enum that maps the :cl_mem_object_type
|
2980
2960
|
class Type < Enum
|
2981
|
-
#:stopdoc:
|
2982
2961
|
BUFFER = 0x10F0
|
2983
2962
|
IMAGE2D = 0x10F1
|
2984
2963
|
IMAGE3D = 0x10F2
|
@@ -2995,7 +2974,6 @@ module OpenCL
|
|
2995
2974
|
@@codes[0x10F5] = 'IMAGE1D_ARRAY'
|
2996
2975
|
@@codes[0x10F6] = 'IMAGE1D_BUFFER'
|
2997
2976
|
@@codes[0x10F7] = 'PIPE'
|
2998
|
-
#:startdoc:
|
2999
2977
|
# Returns a String representing the Enum value name
|
3000
2978
|
def name
|
3001
2979
|
return @@codes[@val]
|
@@ -3004,13 +2982,11 @@ module OpenCL
|
|
3004
2982
|
|
3005
2983
|
# Bitfield that maps the :cl_svm_mem_flags type
|
3006
2984
|
class SVMFlags < Bitfield
|
3007
|
-
#:stopdoc:
|
3008
2985
|
READ_WRITE = (1 << 0)
|
3009
2986
|
WRITE_ONLY = (1 << 1)
|
3010
2987
|
READ_ONLY = (1 << 2)
|
3011
2988
|
SVM_FINE_GRAIN_BUFFER = (1 << 10)
|
3012
2989
|
SVM_ATOMICS = (1 << 11)
|
3013
|
-
#:startdoc:
|
3014
2990
|
# Returns an Array of String representing the different flags set
|
3015
2991
|
def names
|
3016
2992
|
fs = []
|
@@ -3076,7 +3052,6 @@ module OpenCL
|
|
3076
3052
|
class Program
|
3077
3053
|
# Enum that maps the :cl_program_binary_type type
|
3078
3054
|
class BinaryType < Enum
|
3079
|
-
#:stopdoc:
|
3080
3055
|
NONE = 0x0
|
3081
3056
|
COMPILED_OBJECT = 0x1
|
3082
3057
|
LIBRARY = 0x2
|
@@ -3087,7 +3062,6 @@ module OpenCL
|
|
3087
3062
|
@@codes[0x2] = 'LIBRARY'
|
3088
3063
|
@@codes[0x4] = 'EXECUTABLE'
|
3089
3064
|
@@codes[0x40E1] = 'INTERMEDIATE'
|
3090
|
-
#:startdoc:
|
3091
3065
|
# Returns a String representing the Enum value name
|
3092
3066
|
def name
|
3093
3067
|
return @@codes[@val]
|
@@ -3162,7 +3136,6 @@ module OpenCL
|
|
3162
3136
|
class Kernel
|
3163
3137
|
# Maps the arg logical OpenCL objects
|
3164
3138
|
class Arg
|
3165
|
-
#:stopdoc:
|
3166
3139
|
ADDRESS_QUALIFIER = 0x1196
|
3167
3140
|
ACCESS_QUALIFIER = 0x1197
|
3168
3141
|
TYPE_NAME = 0x1198
|
@@ -3181,13 +3154,11 @@ module OpenCL
|
|
3181
3154
|
TYPE_RESTRICT = (1 << 1)
|
3182
3155
|
TYPE_VOLATILE = (1 << 2)
|
3183
3156
|
TYPE_PIPE = (1 << 3)
|
3184
|
-
#:startdoc:
|
3185
3157
|
end
|
3186
3158
|
|
3187
3159
|
class Arg
|
3188
3160
|
# Enum that maps the :cl_kernel_arg_address_qualifier type
|
3189
3161
|
class AddressQualifier < Enum
|
3190
|
-
#:stopdoc:
|
3191
3162
|
GLOBAL = 0x119B
|
3192
3163
|
LOCAL = 0x119C
|
3193
3164
|
CONSTANT = 0x119D
|
@@ -3196,7 +3167,6 @@ module OpenCL
|
|
3196
3167
|
@@codes[0x119C] = 'LOCAL'
|
3197
3168
|
@@codes[0x119D] = 'CONSTANT'
|
3198
3169
|
@@codes[0x119E] = 'PRIVATE'
|
3199
|
-
#:startdoc:
|
3200
3170
|
# Returns a String representing the Enum value name
|
3201
3171
|
def name
|
3202
3172
|
return @@codes[@val]
|
@@ -3205,7 +3175,6 @@ module OpenCL
|
|
3205
3175
|
|
3206
3176
|
# Enum that maps the :cl_kernel_arg_access_qualifier type
|
3207
3177
|
class AccessQualifier < Enum
|
3208
|
-
#:stopdoc:
|
3209
3178
|
READ_ONLY = 0x11A0
|
3210
3179
|
WRITE_ONLY = 0x11A1
|
3211
3180
|
READ_WRITE = 0x11A2
|
@@ -3214,7 +3183,6 @@ module OpenCL
|
|
3214
3183
|
@@codes[0x11A1] = 'WRITE_ONLY'
|
3215
3184
|
@@codes[0x11A2] = 'READ_WRITE'
|
3216
3185
|
@@codes[0x11A3] = 'NONE'
|
3217
|
-
#:startdoc:
|
3218
3186
|
# Returns a String representing the Enum value name
|
3219
3187
|
def name
|
3220
3188
|
return @@codes[@val]
|
@@ -3223,13 +3191,11 @@ module OpenCL
|
|
3223
3191
|
|
3224
3192
|
# Bitfield that maps the :cl_kernel_arg_type_qualifier type
|
3225
3193
|
class TypeQualifier < Bitfield
|
3226
|
-
#:stopdoc:
|
3227
3194
|
NONE = 0
|
3228
3195
|
CONST = (1 << 0)
|
3229
3196
|
RESTRICT = (1 << 1)
|
3230
3197
|
VOLATILE = (1 << 2)
|
3231
3198
|
PIPE = (1 << 3)
|
3232
|
-
#:startdoc:
|
3233
3199
|
# Returns an Array of String representing the different flags set
|
3234
3200
|
def names
|
3235
3201
|
fs = []
|
@@ -3322,7 +3288,6 @@ module OpenCL
|
|
3322
3288
|
class Sampler
|
3323
3289
|
# Enum that maps the :cl_sampler_properties
|
3324
3290
|
class Type < Enum
|
3325
|
-
#:stopdoc:
|
3326
3291
|
NORMALIZED_COORDS = 0x1152
|
3327
3292
|
ADDRESSING_MODE = 0x1153
|
3328
3293
|
FILTER_MODE = 0x1154
|
@@ -3335,7 +3300,6 @@ module OpenCL
|
|
3335
3300
|
@@codes[0x1155] = 'MIP_FILTER_MODE'
|
3336
3301
|
@@codes[0x1156] = 'LOD_MIN'
|
3337
3302
|
@@codes[0x1157] = 'LOD_MAX'
|
3338
|
-
#:startdoc:
|
3339
3303
|
# Returns a String representing the Enum value name
|
3340
3304
|
def name
|
3341
3305
|
return @@codes[@val]
|
@@ -3370,7 +3334,6 @@ module OpenCL
|
|
3370
3334
|
|
3371
3335
|
# Enum that maps the :cl_channel_order type
|
3372
3336
|
class ChannelOrder < Enum
|
3373
|
-
#:stopdoc:
|
3374
3337
|
R = 0x10B0
|
3375
3338
|
A = 0x10B1
|
3376
3339
|
RG = 0x10B2
|
@@ -3411,7 +3374,6 @@ module OpenCL
|
|
3411
3374
|
@@codes[0x10C1] = 'sRGBA'
|
3412
3375
|
@@codes[0x10C2] = 'sBGRA'
|
3413
3376
|
@@codes[0x10C3] = 'ABGR'
|
3414
|
-
#:startdoc:
|
3415
3377
|
# Returns a String representing the Enum value name
|
3416
3378
|
def name
|
3417
3379
|
return @@codes[@val]
|
@@ -3420,7 +3382,6 @@ module OpenCL
|
|
3420
3382
|
|
3421
3383
|
# Enum that maps the :cl_channel_type type
|
3422
3384
|
class ChannelType < Enum
|
3423
|
-
#:stopdoc:
|
3424
3385
|
SNORM_INT8 = 0x10D0
|
3425
3386
|
SNORM_INT16 = 0x10D1
|
3426
3387
|
UNORM_INT8 = 0x10D2
|
@@ -3453,7 +3414,6 @@ module OpenCL
|
|
3453
3414
|
@@codes[0x10DD] = 'HALF_FLOAT'
|
3454
3415
|
@@codes[0x10DE] = 'FLOAT'
|
3455
3416
|
@@codes[0x10DF] = 'UNORM_INT24'
|
3456
|
-
#:startdoc:
|
3457
3417
|
# Returns a String representing the Enum value name
|
3458
3418
|
def name
|
3459
3419
|
return @@codes[@val]
|
@@ -3462,7 +3422,6 @@ module OpenCL
|
|
3462
3422
|
|
3463
3423
|
# Enum that maps the :cl_addressing_mode type
|
3464
3424
|
class AddressingMode < Enum
|
3465
|
-
#:stopdoc:
|
3466
3425
|
NONE = 0x1130
|
3467
3426
|
CLAMP_TO_EDGE = 0x1131
|
3468
3427
|
CLAMP = 0x1132
|
@@ -3473,7 +3432,6 @@ module OpenCL
|
|
3473
3432
|
@@codes[0x1132] = 'CLAMP'
|
3474
3433
|
@@codes[0x1133] = 'REPEAT'
|
3475
3434
|
@@codes[0x1134] = 'MIRRORED_REPEAT'
|
3476
|
-
#:startdoc:
|
3477
3435
|
# Returns a String representing the Enum value name
|
3478
3436
|
def name
|
3479
3437
|
return @@codes[@val]
|
@@ -3482,12 +3440,10 @@ module OpenCL
|
|
3482
3440
|
|
3483
3441
|
# Enum that maps the :cl_filter_mode type
|
3484
3442
|
class FilterMode < Enum
|
3485
|
-
#:stopdoc:
|
3486
3443
|
NEAREST = 0x1140
|
3487
3444
|
LINEAR = 0x1141
|
3488
3445
|
@@codes[0x1140] = 'NEAREST'
|
3489
3446
|
@@codes[0x1141] = 'LINEAR'
|
3490
|
-
#:startdoc:
|
3491
3447
|
# Returns a String representing the Enum value name
|
3492
3448
|
def name
|
3493
3449
|
return @@codes[@val]
|
@@ -3496,11 +3452,9 @@ module OpenCL
|
|
3496
3452
|
|
3497
3453
|
# Bitfield that maps the :cl_map_flags type
|
3498
3454
|
class MapFlags < Bitfield
|
3499
|
-
#:stopdoc:
|
3500
3455
|
READ = (1 << 0)
|
3501
3456
|
WRITE = (1 << 1)
|
3502
3457
|
WRITE_INVALIDATE_REGION = (1 << 2)
|
3503
|
-
#:startdoc:
|
3504
3458
|
# Returns an Array of String representing the different flags set
|
3505
3459
|
def names
|
3506
3460
|
fs = []
|
@@ -3513,7 +3467,6 @@ module OpenCL
|
|
3513
3467
|
|
3514
3468
|
# Enum that maps the :cl_command_type type
|
3515
3469
|
class CommandType < Enum
|
3516
|
-
#:stopdoc:
|
3517
3470
|
NDRANGE_KERNEL = 0x11F0
|
3518
3471
|
TASK = 0x11F1
|
3519
3472
|
NATIVE_KERNEL = 0x11F2
|
@@ -3574,7 +3527,6 @@ module OpenCL
|
|
3574
3527
|
@@codes[0x120B] = 'SVM_MEMFILL'
|
3575
3528
|
@@codes[0x120C] = 'SVM_MAP'
|
3576
3529
|
@@codes[0x120D] = 'SVM_UNMAP'
|
3577
|
-
#:startdoc:
|
3578
3530
|
# Returns a String representing the Enum value name
|
3579
3531
|
def name
|
3580
3532
|
return @@codes[@val]
|
@@ -3583,7 +3535,6 @@ module OpenCL
|
|
3583
3535
|
|
3584
3536
|
# Enum that maps the :cl_gl_object_type type
|
3585
3537
|
class GLObjectType < Enum
|
3586
|
-
#:stopdoc:
|
3587
3538
|
BUFFER = 0x2000
|
3588
3539
|
TEXTURE2D = 0x2001
|
3589
3540
|
TEXTURE3D = 0x2002
|
@@ -3600,7 +3551,6 @@ module OpenCL
|
|
3600
3551
|
@@codes[0x200F] = 'TEXTURE1D'
|
3601
3552
|
@@codes[0x2010] = 'TEXTURE1D_ARRAY'
|
3602
3553
|
@@codes[0x2011] = 'TEXTURE_BUFFER'
|
3603
|
-
#:startdoc:
|
3604
3554
|
# Returns a String representing the Enum value name
|
3605
3555
|
def name
|
3606
3556
|
return @@codes[@val]
|
@@ -3609,7 +3559,6 @@ module OpenCL
|
|
3609
3559
|
|
3610
3560
|
# Enum that maps the :cl_build_status type
|
3611
3561
|
class BuildStatus < EnumInt
|
3612
|
-
#:stopdoc:
|
3613
3562
|
SUCCESS = 0
|
3614
3563
|
NONE = -1
|
3615
3564
|
ERROR = -2
|
@@ -3618,7 +3567,6 @@ module OpenCL
|
|
3618
3567
|
@@codes[-1] = 'NONE'
|
3619
3568
|
@@codes[-2] = 'ERROR'
|
3620
3569
|
@@codes[-3] = 'IN_PROGRESS'
|
3621
|
-
#:startdoc:
|
3622
3570
|
# Returns a String representing the Enum value name
|
3623
3571
|
def name
|
3624
3572
|
return @@codes[@val]
|
@@ -3627,7 +3575,6 @@ module OpenCL
|
|
3627
3575
|
|
3628
3576
|
# Enum that maps the command execution status logical type
|
3629
3577
|
class CommandExecutionStatus < EnumInt
|
3630
|
-
#:stopdoc:
|
3631
3578
|
COMPLETE = 0x0
|
3632
3579
|
RUNNING = 0x1
|
3633
3580
|
SUBMITTED = 0x2
|
@@ -3636,7 +3583,6 @@ module OpenCL
|
|
3636
3583
|
@@codes[0x1] = 'RUNNING'
|
3637
3584
|
@@codes[0x2] = 'SUBMITTED'
|
3638
3585
|
@@codes[0x3] = 'QUEUED'
|
3639
|
-
#:startdoc:
|
3640
3586
|
# Returns a String representing the Enum value name
|
3641
3587
|
def name
|
3642
3588
|
return @@codes[@val]
|
@@ -3691,7 +3637,7 @@ module OpenCL
|
|
3691
3637
|
attach_function :clGetSupportedImageFormats, [Context,:cl_mem_flags,:cl_mem_object_type,:cl_uint,:pointer,:pointer], :cl_int
|
3692
3638
|
attach_function :clGetMemObjectInfo, [Mem,:cl_mem_info,:size_t,:pointer,:pointer], :cl_int
|
3693
3639
|
attach_function :clGetImageInfo, [Mem,:cl_image_info,:size_t,:pointer,:pointer], :cl_int
|
3694
|
-
callback :clSetMemObjectDestructorCallback_notify, [
|
3640
|
+
callback :clSetMemObjectDestructorCallback_notify, [:pointer,:pointer], :void
|
3695
3641
|
attach_function :clSetMemObjectDestructorCallback, [Mem,:clSetMemObjectDestructorCallback_notify,:pointer], :cl_int
|
3696
3642
|
attach_function :clRetainSampler, [Sampler], :cl_int
|
3697
3643
|
attach_function :clReleaseSampler, [Sampler], :cl_int
|
data/opencl_ruby_ffi.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'opencl_ruby_ffi'
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.994"
|
4
4
|
s.author = "Brice Videau"
|
5
5
|
s.email = "brice.videau@imag.fr"
|
6
|
-
s.homepage = "https://
|
6
|
+
s.homepage = "https://github.com/Nanosim-LIG/opencl-ruby"
|
7
7
|
s.summary = "Ruby OpenCL FFI bindings"
|
8
8
|
s.description = "Ruby OpenCL FFI bindings. OpenCL 2.0 ready"
|
9
9
|
s.files = %w( opencl_ruby_ffi.gemspec LICENSE lib/opencl_ruby_ffi.rb lib/opencl_ruby_ffi/ lib/opencl_ruby_ffi/Arithmetic_gen.rb lib/opencl_ruby_ffi/Buffer.rb lib/opencl_ruby_ffi/CommandQueue.rb lib/opencl_ruby_ffi/Context.rb lib/opencl_ruby_ffi/Device.rb lib/opencl_ruby_ffi/Event.rb lib/opencl_ruby_ffi/Image.rb lib/opencl_ruby_ffi/Kernel.rb lib/opencl_ruby_ffi/Mem.rb lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb lib/opencl_ruby_ffi/opencl_ruby_ffi_base.rb lib/opencl_ruby_ffi/Platform.rb lib/opencl_ruby_ffi/Program.rb lib/opencl_ruby_ffi/Sampler.rb lib/opencl_ruby_ffi/Pipe.rb lib/opencl_ruby_ffi/SVM.rb )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opencl_ruby_ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.994'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: narray
|
@@ -84,7 +84,7 @@ files:
|
|
84
84
|
- lib/opencl_ruby_ffi/Sampler.rb
|
85
85
|
- lib/opencl_ruby_ffi/Pipe.rb
|
86
86
|
- lib/opencl_ruby_ffi/SVM.rb
|
87
|
-
homepage: https://
|
87
|
+
homepage: https://github.com/Nanosim-LIG/opencl-ruby
|
88
88
|
licenses:
|
89
89
|
- BSD
|
90
90
|
post_install_message:
|