Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
faust group
faust
Commits
e0a4a29d
Commit
e0a4a29d
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Enable GPU diag_opt (butterfly optim.) for matfaust.circ/anticirc/toeplitz.
parent
7f566a14
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
wrapper/matlab/+matfaust/anticirc.m
+0
-3
0 additions, 3 deletions
wrapper/matlab/+matfaust/anticirc.m
wrapper/matlab/+matfaust/circ.m
+1
-4
1 addition, 4 deletions
wrapper/matlab/+matfaust/circ.m
wrapper/matlab/+matfaust/toeplitz.m
+3
-6
3 additions, 6 deletions
wrapper/matlab/+matfaust/toeplitz.m
with
4 additions
and
13 deletions
wrapper/matlab/+matfaust/anticirc.m
+
0
−
3
View file @
e0a4a29d
...
...
@@ -98,9 +98,6 @@ function A = anticirc(c, varargin)
A
=
left
(
C
,
N
-
1
)
*
matfaust
.
Faust
(
factors
(
C
,
N
)
*
P
);
end
if
startsWith
(
dev
,
'gpu'
)
if
diag_opt
error
(
'diag_opt on GPU Faust is not yet implemented'
)
end
A
=
clone
(
A
,
'dev'
,
'gpu'
);
end
end
This diff is collapsed.
Click to expand it.
wrapper/matlab/+matfaust/circ.m
+
1
−
4
View file @
e0a4a29d
...
...
@@ -93,7 +93,7 @@ function C = circ(c, varargin)
end
log2c
=
log2
(
numel
(
c
));
if
(
log2c
~=
floor
(
log2c
))
C
=
matfaust
.
toeplitz
(
c
,
[
c
(
1
)
c
(
end
:
-
1
:
2
)]);
C
=
matfaust
.
toeplitz
(
c
,
[
c
(
1
)
c
(
end
:
-
1
:
2
)]
,
'diag_opt'
,
diag_opt
,
'dev'
,
dev
);
return
end
if
size
(
c
,
2
)
==
1
...
...
@@ -131,9 +131,6 @@ function C = circ(c, varargin)
end
C
=
l
*
r
;
if
startsWith
(
dev
,
'gpu'
)
if
diag_opt
error
(
'diag_opt on GPU Faust is not yet implemented'
)
end
C
=
clone
(
C
,
'dev'
,
'gpu'
);
end
end
This diff is collapsed.
Click to expand it.
wrapper/matlab/+matfaust/toeplitz.m
+
3
−
6
View file @
e0a4a29d
...
...
@@ -167,10 +167,7 @@ function T = toeplitz(c, varargin)
c_
=
[
c
,
zeros
(
1
,
N
-
m
+
1
+
N
-
n
),
r
(
end
:
-
1
:
2
)];
C
=
matfaust
.
circ
(
c_
,
'diag_opt'
,
diag_opt
);
T
=
C
(
1
:
m
,
1
:
n
);
if
startsWith
(
dev
,
'gpu'
)
if
diag_opt
error
(
'diag_opt on GPU Faust is not yet implemented'
)
end
T
=
clone
(
T
,
'dev'
,
'gpu'
);
end
if
startsWith
(
dev
,
'gpu'
)
T
=
clone
(
T
,
'dev'
,
'gpu'
);
end
end
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