Update CUDA analysis function and XML files
This commit is contained in:
@@ -65,7 +65,7 @@ class PhySim:
|
|||||||
#PRIVATE Methods
|
#PRIVATE Methods
|
||||||
#-----------------
|
#-----------------
|
||||||
|
|
||||||
def __CheckResults_LDPCTest(self,HTML,CONST,testcase_id):
|
def __CheckResults_LDPCcudaTest(self,HTML,CONST,testcase_id):
|
||||||
mySSH = sshconnection.SSHConnection()
|
mySSH = sshconnection.SSHConnection()
|
||||||
mySSH.open(self.eNBIpAddr, self.eNBUserName, self.eNBPassWord)
|
mySSH.open(self.eNBIpAddr, self.eNBUserName, self.eNBPassWord)
|
||||||
#retrieve run log file and store it locally$
|
#retrieve run log file and store it locally$
|
||||||
@@ -232,7 +232,7 @@ class PhySim:
|
|||||||
return lHTML
|
return lHTML
|
||||||
|
|
||||||
|
|
||||||
def Run_LDPCTest(self,htmlObj,constObj,testcase_id):
|
def Run_CUDATest(self,htmlObj,constObj,testcase_id):
|
||||||
self.__workSpacePath = self.eNBSourceCodePath+'/cmake_targets/'
|
self.__workSpacePath = self.eNBSourceCodePath+'/cmake_targets/'
|
||||||
#create run logs folder locally
|
#create run logs folder locally
|
||||||
os.system('mkdir -p ./'+self.__runLogPath)
|
os.system('mkdir -p ./'+self.__runLogPath)
|
||||||
@@ -247,7 +247,7 @@ class PhySim:
|
|||||||
mySSH.close()
|
mySSH.close()
|
||||||
#return updated HTML to main
|
#return updated HTML to main
|
||||||
lHTML = cls_oai_html.HTMLManagement()
|
lHTML = cls_oai_html.HTMLManagement()
|
||||||
lHTML=self.__CheckResults_LDPCTest(htmlObj,constObj,testcase_id)
|
lHTML=self.__CheckResults_LDPCcudaTest(htmlObj,constObj,testcase_id)
|
||||||
return lHTML
|
return lHTML
|
||||||
|
|
||||||
def Run_T2Test(self,htmlObj,constObj,testcase_id):
|
def Run_T2Test(self,htmlObj,constObj,testcase_id):
|
||||||
|
|||||||
+3
-3
@@ -376,7 +376,7 @@ def GetParametersFromXML(action):
|
|||||||
if (string_field is not None):
|
if (string_field is not None):
|
||||||
CONTAINERS.ran_checkers['u_retx_th'] = [float(x) for x in string_field.split(',')]
|
CONTAINERS.ran_checkers['u_retx_th'] = [float(x) for x in string_field.split(',')]
|
||||||
|
|
||||||
elif action == 'Run_LDPCTest' or action == 'Run_NRulsimTest' or action == 'Run_T2Test':
|
elif action == 'Run_CUDATest' or action == 'Run_NRulsimTest' or action == 'Run_T2Test':
|
||||||
ldpc.runargs = test.findtext('physim_run_args')
|
ldpc.runargs = test.findtext('physim_run_args')
|
||||||
ldpc.runsim = test.findtext('physim_run')
|
ldpc.runsim = test.findtext('physim_run')
|
||||||
ldpc.timethrs = test.findtext('physim_time_threshold')
|
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)
|
HTML=ldpc.Build_PhySim(HTML,CONST)
|
||||||
if ldpc.exitStatus==1:
|
if ldpc.exitStatus==1:
|
||||||
RAN.prematureExit = True
|
RAN.prematureExit = True
|
||||||
elif action == 'Run_LDPCTest':
|
elif action == 'Run_CUDATest':
|
||||||
HTML=ldpc.Run_LDPCTest(HTML,CONST,id)
|
HTML=ldpc.Run_CUDATest(HTML,CONST,id)
|
||||||
if ldpc.exitStatus==1:
|
if ldpc.exitStatus==1:
|
||||||
RAN.prematureExit = True
|
RAN.prematureExit = True
|
||||||
elif action == 'Run_T2Test':
|
elif action == 'Run_T2Test':
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- Build_Cluster_Image
|
- Build_Cluster_Image
|
||||||
- Pull_Cluster_Image
|
- Pull_Cluster_Image
|
||||||
- Build_PhySim
|
- Build_PhySim
|
||||||
- Run_LDPCTest
|
- Run_CUDATest
|
||||||
- Run_T2Test
|
- Run_T2Test
|
||||||
- Run_NRulsimTest
|
- Run_NRulsimTest
|
||||||
- Build_eNB
|
- Build_eNB
|
||||||
|
|||||||
@@ -30,121 +30,121 @@
|
|||||||
<TestCaseExclusionList></TestCaseExclusionList>
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
<testCase id="000002">
|
<testCase id="000002">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 3872 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 3872 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000003">
|
<testCase id="000003">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 3872 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 3872 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000004">
|
<testCase id="000004">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 4224 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 4224 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000005">
|
<testCase id="000005">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 4224 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 4224 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000006">
|
<testCase id="000006">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 4576 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 4576 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000007">
|
<testCase id="000007">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 4576 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 4576 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000008">
|
<testCase id="000008">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 4928 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 4928 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000009">
|
<testCase id="000009">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 4928 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 4928 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000010">
|
<testCase id="000010">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 5280 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 5280 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000011">
|
<testCase id="000011">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 5280 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 5280 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000012">
|
<testCase id="000012">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 5632 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 5632 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000013">
|
<testCase id="000013">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 5632 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 5632 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000014">
|
<testCase id="000014">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 6336 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 6336 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000015">
|
<testCase id="000015">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 6336 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 6336 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000016">
|
<testCase id="000016">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 7040 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 7040 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000017">
|
<testCase id="000017">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 7040 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 7040 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000018">
|
<testCase id="000018">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 7744 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 7744 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000019">
|
<testCase id="000019">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 7744 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 7744 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000020">
|
<testCase id="000020">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with CPU</desc>
|
<desc>Run LDPC Test with CPU</desc>
|
||||||
<physim_run_args>-l 8448 -s10 -n100</physim_run_args>
|
<physim_run_args>-l 8448 -s10 -n100</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000021">
|
<testCase id="000021">
|
||||||
<class>Run_LDPCTest</class>
|
<class>Run_CUDATest</class>
|
||||||
<desc>Run LDPC Test with GPU</desc>
|
<desc>Run LDPC Test with GPU</desc>
|
||||||
<physim_run_args>-l 8448 -s10 -n100 -G 1</physim_run_args>
|
<physim_run_args>-l 8448 -s10 -n100 -G 1</physim_run_args>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|||||||
Reference in New Issue
Block a user