Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
a6818d5b
Commit
a6818d5b
authored
May 24, 2019
by
Timo Rothenpieler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compat/cuda/ptx2c: don't drop final newline
parent
4cfc34d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ptx2c.sh
compat/cuda/ptx2c.sh
+1
-1
No files found.
compat/cuda/ptx2c.sh
View file @
a6818d5b
...
@@ -27,7 +27,7 @@ IN="$2"
...
@@ -27,7 +27,7 @@ IN="$2"
NAME
=
"
$(
basename
"
$IN
"
|
sed
's/\..*//'
)
"
NAME
=
"
$(
basename
"
$IN
"
|
sed
's/\..*//'
)
"
printf
"const char %s_ptx[] =
\\
"
"
$NAME
"
>
"
$OUT
"
printf
"const char %s_ptx[] =
\\
"
"
$NAME
"
>
"
$OUT
"
while
read
LINE
while
IFS
=
read
-r
LINE
do
do
printf
"
\n\t\"
%s
\\\n\"
"
"
$(
printf
"%s"
"
$LINE
"
|
sed
-e
's/\r//g'
-e
's/["\\]/\\&/g'
)
"
>>
"
$OUT
"
printf
"
\n\t\"
%s
\\\n\"
"
"
$(
printf
"%s"
"
$LINE
"
|
sed
-e
's/\r//g'
-e
's/["\\]/\\&/g'
)
"
>>
"
$OUT
"
done
<
"
$IN
"
done
<
"
$IN
"
...
...
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