Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
c4e85f7b
"src/vscode:/vscode.git/clone" did not exist on "3c133f818b7dd51e2ee2ec8f68e5211de736f2f2"
Unverified
Commit
c4e85f7b
authored
Jan 18, 2022
by
Masaki Kozuki
Committed by
GitHub
Jan 18, 2022
Browse files
pass flags to transducer joint kernel (#1273)
parent
b2fdf9c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup.py
setup.py
+2
-2
No files found.
setup.py
View file @
c4e85f7b
...
@@ -538,8 +538,8 @@ if "--transducer" in sys.argv:
...
@@ -538,8 +538,8 @@ if "--transducer" in sys.argv:
"apex/contrib/csrc/transducer/transducer_joint_kernel.cu"
,
"apex/contrib/csrc/transducer/transducer_joint_kernel.cu"
,
],
],
extra_compile_args
=
{
extra_compile_args
=
{
"cxx"
:
[
"-O3"
]
+
version_dependent_macros
,
"cxx"
:
[
"-O3"
]
+
version_dependent_macros
+
generator_flag
,
"nvcc"
:
append_nvcc_threads
([
"-O3"
]
+
version_dependent_macros
),
"nvcc"
:
append_nvcc_threads
([
"-O3"
]
+
version_dependent_macros
+
generator_flag
),
},
},
include_dirs
=
[
os
.
path
.
join
(
this_dir
,
"csrc"
),
os
.
path
.
join
(
this_dir
,
"apex/contrib/csrc/multihead_attn"
)],
include_dirs
=
[
os
.
path
.
join
(
this_dir
,
"csrc"
),
os
.
path
.
join
(
this_dir
,
"apex/contrib/csrc/multihead_attn"
)],
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment