2 (in-package :clem-benchmark
)
4 (let ((m (make-instance 'double-float-matrix
:dimensions
'(1024 1024) :initial-element
2d0
))
5 (n (make-instance 'double-float-matrix
:dimensions
'(1024 1024) :initial-element
1d0
)))
6 (with-matrix-benchmark (:subtr-1024-1024
/double-float
)
9 (let ((m (make-instance 'single-float-matrix
:dimensions
'(1024 1024) :initial-element
2s0
))
10 (n (make-instance 'single-float-matrix
:dimensions
'(1024 1024) :initial-element
1s0
)))
11 (with-matrix-benchmark (:subtr-1024-1024
/single-float
)
14 (let ((m (make-instance 'sb8-matrix
:dimensions
'(1024 1024) :initial-element
2))
15 (n (make-instance 'sb8-matrix
:dimensions
'(1024 1024) :initial-element
1)))
16 (with-matrix-benchmark (:subtr-1024-1024
/sb8
)
19 (let ((m (make-instance 'sb16-matrix
:dimensions
'(1024 1024) :initial-element
2))
20 (n (make-instance 'sb16-matrix
:dimensions
'(1024 1024) :initial-element
1)))
21 (with-matrix-benchmark (:subtr-1024-1024
/sb16
)
24 (let ((m (make-instance 'sb32-matrix
:dimensions
'(1024 1024) :initial-element
2))
25 (n (make-instance 'sb32-matrix
:dimensions
'(1024 1024) :initial-element
1)))
26 (with-matrix-benchmark (:subtr-1024-1024
/sb32
)
29 (let ((m (make-instance 'ub8-matrix
:dimensions
'(1024 1024) :initial-element
2))
30 (n (make-instance 'ub8-matrix
:dimensions
'(1024 1024) :initial-element
1)))
31 (with-matrix-benchmark (:subtr-1024-1024
/ub8
)
34 (let ((m (make-instance 'ub16-matrix
:dimensions
'(1024 1024) :initial-element
2))
35 (n (make-instance 'ub16-matrix
:dimensions
'(1024 1024) :initial-element
1)))
36 (with-matrix-benchmark (:subtr-1024-1024
/ub16
)
39 (let ((m (make-instance 'ub32-matrix
:dimensions
'(1024 1024) :initial-element
2))
40 (n (make-instance 'ub32-matrix
:dimensions
'(1024 1024) :initial-element
1)))
41 (with-matrix-benchmark (:subtr-1024-1024
/ub32
)