Skip to content

Instantly share code, notes, and snippets.

@hughperkins
Created May 20, 2016 11:06
Show Gist options
  • Save hughperkins/d6cf03123b746148038edf57971218bf to your computer and use it in GitHub Desktop.
Save hughperkins/d6cf03123b746148038edf57971218bf to your computer and use it in GitHub Desktop.
running tests...
aftter requiring cltorch.unit_storage
Running 2 tests
__
|_ ==> test_basicX server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
X server found. dri2 connection failed!
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: GeForce 940M
_| ==> test_get
__ ==> Done
Completed 15 asserts in 2 tests with 0 errors
--------------------------------------------------------------------------------
#tester.errors 0
res true
aftter requiring cltorch.unit_tensor
Running 116 tests
____________________________________________________________________________________________________________________
|___________________________________________________________________________________________________________________ ==> inplace_abs
_|__________________________________________________________________________________________________________________ ==> inplace_acos
__|_________________________________________________________________________________________________________________ ==> inplace_add
___|________________________________________________________________________________________________________________ ==> inplace_asin
____|_______________________________________________________________________________________________________________ ==> inplace_atan
_____|______________________________________________________________________________________________________________ ==> inplace_atan2
______|_____________________________________________________________________________________________________________ ==> inplace_cdiv
_______|____________________________________________________________________________________________________________ ==> inplace_ceil
________|___________________________________________________________________________________________________________ ==> inplace_cinv
_________|__________________________________________________________________________________________________________ ==> inplace_cmul
__________|_________________________________________________________________________________________________________ ==> inplace_cos
___________|________________________________________________________________________________________________________ ==> inplace_cpow
____________|_______________________________________________________________________________________________________ ==> inplace_eq
_____________|______________________________________________________________________________________________________ ==> inplace_exp
______________|_____________________________________________________________________________________________________ ==> inplace_floor
_______________|____________________________________________________________________________________________________ ==> inplace_ge
________________|___________________________________________________________________________________________________ ==> inplace_gt
_________________|__________________________________________________________________________________________________ ==> inplace_le
__________________|_________________________________________________________________________________________________ ==> inplace_log
___________________|________________________________________________________________________________________________ ==> inplace_lt
____________________|_______________________________________________________________________________________________ ==> inplace_ne
_____________________|______________________________________________________________________________________________ ==> inplace_round
______________________|_____________________________________________________________________________________________ ==> inplace_sigmoid
_______________________|____________________________________________________________________________________________ ==> inplace_sign
________________________|___________________________________________________________________________________________ ==> inplace_sin
_________________________|__________________________________________________________________________________________ ==> inplace_sqrt
__________________________|_________________________________________________________________________________________ ==> inplace_tanh
___________________________|________________________________________________________________________________________ ==> operator_div_scalar
____________________________|_______________________________________________________________________________________ ==> operator_mul_scalar
_____________________________|______________________________________________________________________________________ ==> operator_plus
______________________________|_____________________________________________________________________________________ ==> operator_plus_scalar
_______________________________|____________________________________________________________________________________ ==> operator_sub
________________________________|___________________________________________________________________________________ ==> operator_sub_scalar
_________________________________|__________________________________________________________________________________ ==> outplace_abs
__________________________________|_________________________________________________________________________________ ==> outplace_acos
___________________________________|________________________________________________________________________________ ==> outplace_add
____________________________________|_______________________________________________________________________________ ==> outplace_asin
_____________________________________|______________________________________________________________________________ ==> outplace_atan
______________________________________|_____________________________________________________________________________ ==> outplace_cdiv
_______________________________________|____________________________________________________________________________ ==> outplace_ceil
________________________________________|___________________________________________________________________________ ==> outplace_cinv
_________________________________________|__________________________________________________________________________ ==> outplace_cmul
__________________________________________|_________________________________________________________________________ ==> outplace_cos
___________________________________________|________________________________________________________________________ ==> outplace_cpow
____________________________________________|_______________________________________________________________________ ==> outplace_div
_____________________________________________|______________________________________________________________________ ==> outplace_eq
______________________________________________|_____________________________________________________________________ ==> outplace_exp
_______________________________________________|____________________________________________________________________ ==> outplace_floor
________________________________________________|___________________________________________________________________ ==> outplace_ge
_________________________________________________|__________________________________________________________________ ==> outplace_gt
__________________________________________________|_________________________________________________________________ ==> outplace_le
___________________________________________________|________________________________________________________________ ==> outplace_log
____________________________________________________|_______________________________________________________________ ==> outplace_lt
_____________________________________________________|______________________________________________________________ ==> outplace_mul
______________________________________________________|_____________________________________________________________ ==> outplace_ne
_______________________________________________________|____________________________________________________________ ==> outplace_pow
________________________________________________________|___________________________________________________________ ==> outplace_round
_________________________________________________________|__________________________________________________________ ==> outplace_sigmoid
__________________________________________________________|_________________________________________________________ ==> outplace_sign
___________________________________________________________|________________________________________________________ ==> outplace_sin
____________________________________________________________|_______________________________________________________ ==> outplace_sqrt
_____________________________________________________________|______________________________________________________ ==> outplace_tanh
______________________________________________________________|_____________________________________________________ ==> self_eq
_______________________________________________________________|____________________________________________________ ==> self_ge
________________________________________________________________|___________________________________________________ ==> self_gt
_________________________________________________________________|__________________________________________________ ==> self_le
__________________________________________________________________|_________________________________________________ ==> self_lt
___________________________________________________________________|________________________________________________ ==> self_ne
____________________________________________________________________|_______________________________________________ ==> test_add
_____________________________________________________________________|______________________________________________ ==> test_addcdiv
______________________________________________________________________|_____________________________________________ ==> test_addcdivshape
_______________________________________________________________________|____________________________________________ ==> test_addcmul
________________________________________________________________________|___________________________________________ ==> test_apply
_________________________________________________________________________|__________________________________________ ==> test_basic
__________________________________________________________________________|_________________________________________ ==> test_blas
___________________________________________________________________________|________________________________________ ==> test_clone
____________________________________________________________________________|_______________________________________ ==> test_cmin
_____________________________________________________________________________|______________________________________ ==> test_cmul
______________________________________________________________________________|_____________________________________ ==> test_cumprod
_______________________________________________________________________________|____________________________________ ==> test_cumsum
________________________________________________________________________________|___________________________________ ==> test_equals
left
3.0000 5.0000 -2.0000
2.1000 2.2000 3.9000
[torch.FloatTensor of size 2x3]
right
3.0000 5.0000 -2.0000
2.1000 2.4000 3.9000
[torch.FloatTensor of size 2x3]
left
3.0000 5.0000 -2.0000
2.1000 2.2000 3.9000
[torch.DoubleTensor of size 2x3]
right
3.0000 5.0000 -2.0000
2.1000 2.4000 3.9000
[torch.DoubleTensor of size 2x3]
_________________________________________________________________________________|__________________________________ ==> test_fills
__________________________________________________________________________________|_________________________________ ==> test_gather
___________________________________________________________________________________|________________________________ ==> test_gather_narrowed
new wrapper, size 4
new wrapper, size 4
____________________________________________________________________________________|_______________________________ ==> test_gather_t
_____________________________________________________________________________________|______________________________ ==> test_get
______________________________________________________________________________________|_____________________________ ==> test_indexcopy
_______________________________________________________________________________________|____________________________ ==> test_indexfill
________________________________________________________________________________________|___________________________ ==> test_indexselect
_________________________________________________________________________________________|__________________________ ==> test_intpower
__________________________________________________________________________________________|_________________________ ==> test_map
___________________________________________________________________________________________|________________________ ==> test_map2
____________________________________________________________________________________________|_______________________ ==> test_matrixwide
_____________________________________________________________________________________________|______________________ ==> test_max1
______________________________________________________________________________________________|_____________________ ==> test_max2
_______________________________________________________________________________________________|____________________ ==> test_mean
________________________________________________________________________________________________|___________________ ==> test_meanall
_________________________________________________________________________________________________|__________________ ==> test_min1
__________________________________________________________________________________________________|_________________ ==> test_min2
___________________________________________________________________________________________________|________________ ==> test_neg
____________________________________________________________________________________________________|_______________ ==> test_norm
_____________________________________________________________________________________________________|______________ ==> test_perelement
______________________________________________________________________________________________________|_____________ ==> test_powerofneg
_______________________________________________________________________________________________________|____________ ==> test_prod
________________________________________________________________________________________________________|___________ ==> test_prodall
_________________________________________________________________________________________________________|__________ ==> test_reduceAll
__________________________________________________________________________________________________________|_________ ==> test_reshape
___________________________________________________________________________________________________________|________ ==> test_save
____________________________________________________________________________________________________________|_______ ==> test_scatter
_____________________________________________________________________________________________________________|______ ==> test_scatterFill
______________________________________________________________________________________________________________|_____ ==> test_sub
_______________________________________________________________________________________________________________|____ ==> test_sum
________________________________________________________________________________________________________________|___ ==> test_sum_t
_________________________________________________________________________________________________________________|__ ==> test_sum_t_offset
__________________________________________________________________________________________________________________|_ ==> test_sumall
___________________________________________________________________________________________________________________| ==> test_sumallt
____________________________________________________________________________________________________________________ ==> Done
Completed 227 asserts in 116 tests with 0 errors
--------------------------------------------------------------------------------
all tests finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment