Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
test_latticegpu.jl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alberto Ramos
test_latticegpu.jl
Commits
041abadc
Commit
041abadc
authored
Nov 08, 2021
by
Alberto Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added flushing of file
parent
a08d5e19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Project.toml
Project.toml
+1
-0
main/ym.jl
main/ym.jl
+3
-1
No files found.
Project.toml
View file @
041abadc
...
@@ -10,3 +10,4 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
...
@@ -10,3 +10,4 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Random
=
"9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Random
=
"9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
TOML
=
"fa267f1f-6049-4f14-aa54-33bafae1ed76"
TOML
=
"fa267f1f-6049-4f14-aa54-33bafae1ed76"
TimerOutputs
=
"a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
TimerOutputs
=
"a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
TranscodingStreams
=
"3bb67fe8-82b1-5028-8e26-92a6c54297fa"
main/ym.jl
View file @
041abadc
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
###
###
using
LatticeGPU
,
TOML
,
BDIO
,
ArgParse
,
Random
,
CUDA
,
Pkg
,
InteractiveUtils
,
TimerOutputs
,
Printf
,
CodecZlib
using
LatticeGPU
,
TOML
,
BDIO
,
ArgParse
,
Random
,
CUDA
,
Pkg
,
InteractiveUtils
,
TimerOutputs
,
Printf
,
TranscodingStreams
,
CodecZlib
function
parse_commandline
()
function
parse_commandline
()
s
=
ArgParseSettings
()
s
=
ArgParseSettings
()
...
@@ -162,6 +162,7 @@ for i in 1:nthm
...
@@ -162,6 +162,7 @@ for i in 1:nthm
sfc
[
i
,
1
],
sfc
[
i
,
2
])
sfc
[
i
,
1
],
sfc
[
i
,
2
])
end
end
if
i
%
10
==
0
if
i
%
10
==
0
write
(
flog
,
TranscodingStreams
.
TOKEN_END
)
flush
(
flog
)
flush
(
flog
)
end
end
end
end
...
@@ -209,6 +210,7 @@ for i in 1:nt
...
@@ -209,6 +210,7 @@ for i in 1:nt
U
.=
ymws
.
U1
U
.=
ymws
.
U1
if
i
%
10
==
0
if
i
%
10
==
0
write
(
flog
,
TranscodingStreams
.
TOKEN_END
)
flush
(
flog
)
flush
(
flog
)
end
end
end
end
...
...
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