Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
spbro
OpenXG-RAN
Commits
04357e8b
Commit
04357e8b
authored
Apr 11, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CUDA analysis function and XML files
parent
cde318ce
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
27 deletions
+27
-27
ci-scripts/cls_physim.py
ci-scripts/cls_physim.py
+3
-3
ci-scripts/main.py
ci-scripts/main.py
+3
-3
ci-scripts/xml_class_list.yml
ci-scripts/xml_class_list.yml
+1
-1
ci-scripts/xml_files/ldpc_gpu_test.xml
ci-scripts/xml_files/ldpc_gpu_test.xml
+20
-20
No files found.
ci-scripts/cls_physim.py
View file @
04357e8b
...
...
@@ -65,7 +65,7 @@ class PhySim:
#PRIVATE Methods
#-----------------
def
__CheckResults_LDPCTest
(
self
,
HTML
,
CONST
,
testcase_id
):
def
__CheckResults_LDPC
cuda
Test
(
self
,
HTML
,
CONST
,
testcase_id
):
mySSH
=
sshconnection
.
SSHConnection
()
mySSH
.
open
(
self
.
eNBIpAddr
,
self
.
eNBUserName
,
self
.
eNBPassWord
)
#retrieve run log file and store it locally$
...
...
@@ -232,7 +232,7 @@ class PhySim:
return
lHTML
def
Run_
LDPC
Test
(
self
,
htmlObj
,
constObj
,
testcase_id
):
def
Run_
CUDA
Test
(
self
,
htmlObj
,
constObj
,
testcase_id
):
self
.
__workSpacePath
=
self
.
eNBSourceCodePath
+
'/cmake_targets/'
#create run logs folder locally
os
.
system
(
'mkdir -p ./'
+
self
.
__runLogPath
)
...
...
@@ -247,7 +247,7 @@ class PhySim:
mySSH
.
close
()
#return updated HTML to main
lHTML
=
cls_oai_html
.
HTMLManagement
()
lHTML
=
self
.
__CheckResults_LDPCTest
(
htmlObj
,
constObj
,
testcase_id
)
lHTML
=
self
.
__CheckResults_LDPC
cuda
Test
(
htmlObj
,
constObj
,
testcase_id
)
return
lHTML
def
Run_T2Test
(
self
,
htmlObj
,
constObj
,
testcase_id
):
...
...
ci-scripts/main.py
View file @
04357e8b
...
...
@@ -376,7 +376,7 @@ def GetParametersFromXML(action):
if
(
string_field
is
not
None
):
CONTAINERS
.
ran_checkers
[
'u_retx_th'
]
=
[
float
(
x
)
for
x
in
string_field
.
split
(
','
)]
elif
action
==
'Run_
LDPC
Test'
or
action
==
'Run_NRulsimTest'
or
action
==
'Run_T2Test'
:
elif
action
==
'Run_
CUDA
Test'
or
action
==
'Run_NRulsimTest'
or
action
==
'Run_T2Test'
:
ldpc
.
runargs
=
test
.
findtext
(
'physim_run_args'
)
ldpc
.
runsim
=
test
.
findtext
(
'physim_run'
)
ldpc
.
timethrs
=
test
.
findtext
(
'physim_time_threshold'
)
...
...
@@ -798,8 +798,8 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
HTML
=
ldpc
.
Build_PhySim
(
HTML
,
CONST
)
if
ldpc
.
exitStatus
==
1
:
RAN
.
prematureExit
=
True
elif
action
==
'Run_
LDPC
Test'
:
HTML
=
ldpc
.
Run_
LDPC
Test
(
HTML
,
CONST
,
id
)
elif
action
==
'Run_
CUDA
Test'
:
HTML
=
ldpc
.
Run_
CUDA
Test
(
HTML
,
CONST
,
id
)
if
ldpc
.
exitStatus
==
1
:
RAN
.
prematureExit
=
True
elif
action
==
'Run_T2Test'
:
...
...
ci-scripts/xml_class_list.yml
View file @
04357e8b
...
...
@@ -2,7 +2,7 @@
-
Build_Cluster_Image
-
Pull_Cluster_Image
-
Build_PhySim
-
Run_
LDPC
Test
-
Run_
CUDA
Test
-
Run_T2Test
-
Run_NRulsimTest
-
Build_eNB
...
...
ci-scripts/xml_files/ldpc_gpu_test.xml
View file @
04357e8b
...
...
@@ -30,121 +30,121 @@
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"000002"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 3872 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000003"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 3872 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000004"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 4224 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000005"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 4224 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000006"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 4576 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000007"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 4576 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000008"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 4928 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000009"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 4928 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000010"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 5280 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000011"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 5280 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000012"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 5632 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000013"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 5632 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000014"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 6336 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000015"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 6336 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000016"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 7040 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000017"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 7040 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000018"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 7744 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000019"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 7744 -s10 -n100 -G 1
</physim_run_args>
</testCase>
<testCase
id=
"000020"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 8448 -s10 -n100
</physim_run_args>
</testCase>
<testCase
id=
"000021"
>
<class>
Run_
LDPC
Test
</class>
<class>
Run_
CUDA
Test
</class>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 8448 -s10 -n100 -G 1
</physim_run_args>
</testCase>
...
...
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