Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gsll
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antonio Juan
gsll
Commits
22389994
Commit
22389994
authored
14 years ago
by
Liam Healy
Browse files
Options
Downloads
Patches
Plain Diff
Use new macros from FSBV
Use new macros define-equivalent-type, defconvert, and defenumeration from FSBV.
parent
b537df47
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
init/types.lisp
+6
-4
6 additions, 4 deletions
init/types.lisp
linear-algebra/blas2.lisp
+6
-8
6 additions, 8 deletions
linear-algebra/blas2.lisp
linear-algebra/blas3.lisp
+4
-4
4 additions, 4 deletions
linear-algebra/blas3.lisp
with
16 additions
and
16 deletions
init/types.lisp
+
6
−
4
View file @
22389994
;; Number types used by GSL functions, and specification conversion
;; Number types used by GSL functions, and specification conversion
;; Liam Healy 2008-12-31 21:06:34EST types.lisp
;; Liam Healy 2008-12-31 21:06:34EST types.lisp
;; Time-stamp: <2010-
06-27 18:03:22ED
T types.lisp>
;; Time-stamp: <2010-
12-19 11:42:56ES
T types.lisp>
;;
;;
;; Copyright 2008, 2009 Liam M. Healy
;; Copyright 2008, 2009
, 2010
Liam M. Healy
;; Distributed under the terms of the GNU General Public License
;; Distributed under the terms of the GNU General Public License
;;
;;
;; This program is free software: you can redistribute it and/or modify
;; This program is free software: you can redistribute it and/or modify
...
@@ -24,13 +24,15 @@
...
@@ -24,13 +24,15 @@
;;;; Unsigned address types size_t
;;;; Unsigned address types size_t
;;;;****************************************************************************
;;;;****************************************************************************
(
fsbv:defconvert
(
sizet
:constructor
values
))
(
case
(
cffi:foreign-type-size
:long
)
(
case
(
cffi:foreign-type-size
:long
)
(
8
(
8
(
push
:int64
*features*
)
(
push
:int64
*features*
)
#+
fsbv
(
fsbv:def
synonym
sizet
:uint64
))
#+
fsbv
(
fsbv:def
ine-equivalent-type
sizet
:uint64
))
(
4
(
4
(
push
:int32
*features*
)
(
push
:int32
*features*
)
#+
fsbv
(
fsbv:def
synonym
sizet
:uint32
)))
#+
fsbv
(
fsbv:def
ine-equivalent-type
sizet
:uint32
)))
;;;;****************************************************************************
;;;;****************************************************************************
;;;; Type specification conversion
;;;; Type specification conversion
...
...
This diff is collapsed.
Click to expand it.
linear-algebra/blas2.lisp
+
6
−
8
View file @
22389994
;; BLAS level 2, Matrix-vector operations
;; BLAS level 2, Matrix-vector operations
;; Liam Healy, Wed Apr 26 2006 - 21:08
;; Liam Healy, Wed Apr 26 2006 - 21:08
;; Time-stamp: <2010-
07-07
1
4
:2
5
:0
0ED
T blas2.lisp>
;; Time-stamp: <2010-
12-19
1
1
:2
4
:0
7ES
T blas2.lisp>
;;
;;
;; Copyright 2006, 2007, 2008, 2009 Liam M. Healy
;; Copyright 2006, 2007, 2008, 2009
, 2010
Liam M. Healy
;; Distributed under the terms of the GNU General Public License
;; Distributed under the terms of the GNU General Public License
;;
;;
;; This program is free software: you can redistribute it and/or modify
;; This program is free software: you can redistribute it and/or modify
...
@@ -27,14 +27,12 @@
...
@@ -27,14 +27,12 @@
;;;; Options
;;;; Options
;;;;****************************************************************************
;;;;****************************************************************************
#+
fsbv
#+
fsbv
(
fsbv:defenumeration
cblas-transpose
)
(
fsbv:defcenum-aux
cblas-transpose
)
;;; Eventually, #-fsbv (cffi:defconvert-cenum
cblas-transpose)
#+
fsbv
#+
fsbv
(
fsbv:defenumeration
cblas-uplo
)
(
fsbv:defcenum-aux
cblas-uplo
)
#+
fsbv
#+
fsbv
(
fsbv:defenumeration
cblas-diag
)
(
fsbv:defcenum-aux
cblas-diag
)
;;;;****************************************************************************
;;;;****************************************************************************
;;;; Functions
;;;; Functions
...
...
This diff is collapsed.
Click to expand it.
linear-algebra/blas3.lisp
+
4
−
4
View file @
22389994
;; BLAS level 3, Matrix-matrix operations
;; BLAS level 3, Matrix-matrix operations
;; Liam Healy, Wed Apr 26 2006 - 21:08
;; Liam Healy, Wed Apr 26 2006 - 21:08
;; Time-stamp: <2010-
07-07
1
4
:25:
00ED
T blas3.lisp>
;; Time-stamp: <2010-
12-19
1
1
:25:
19ES
T blas3.lisp>
;;
;;
;; Copyright 2006, 2007, 2008, 2009 Liam M. Healy
;; Copyright 2006, 2007, 2008, 2009
, 2010
Liam M. Healy
;; Distributed under the terms of the GNU General Public License
;; Distributed under the terms of the GNU General Public License
;;
;;
;; This program is free software: you can redistribute it and/or modify
;; This program is free software: you can redistribute it and/or modify
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
;;;; Options
;;;; Options
;;;;****************************************************************************
;;;;****************************************************************************
#+
fsbv
#+
fsbv
(
fsbv:defenumeration
cblas-side
)
(
fsbv:defcenum-aux
cblas-side
)
;;; Eventually, #-fsbv (cffi:defconvert-cenum
cblas-side)
;;;;****************************************************************************
;;;;****************************************************************************
;;;; Functions
;;;; Functions
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment