cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
Return to the generic documentation of cloudFPGA
trieres.py
Go to the documentation of this file.
1
# *****************************************************************************
2
# * cloudFPGA
3
# * Copyright 2016 -- 2022 IBM Corporation
4
# * Licensed under the Apache License, Version 2.0 (the "License");
5
# * you may not use this file except in compliance with the License.
6
# * You may obtain a copy of the License at
7
# *
8
# * http://www.apache.org/licenses/LICENSE-2.0
9
# *
10
# * Unless required by applicable law or agreed to in writing, software
11
# * distributed under the License is distributed on an "AS IS" BASIS,
12
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# * See the License for the specific language governing permissions and
14
# * limitations under the License.
15
# *----------------------------------------------------------------------------
16
17
22
23
import
sys
24
import
os
25
26
cpwd = os.path.abspath(__file__)
27
vision_path = os.path.dirname(cpwd)+
"/../vision"
28
sys.path.append(vision_path)
29
custom_path = os.path.dirname(cpwd)+
"/../custom"
30
sys.path.append(custom_path)
31
32
import
vision
33
import
custom
34
35
#def main(argv):
36
37
# if 1:
38
# quantitative_finance.median_blur(input_array, total_size, fpga_ip, fpga_port)
39
40
41
#if __name__ == '__main__':
42
# if not (hasattr(sys, 'real_prefix') or (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix)):
43
# # This works with virtualenv for Python 3 and 2 and also for the venv module in Python 3
44
# print("ERROR: It looks like this trieres isn't running in a virtual environment. Aborting.")
45
# sys.exit(1)
46
47
# main(sys.argv)
48
# exit(0)
repos_for_Dox
cFp_Zoo
HOST
trieres
trieres.py
Generated on Sat Jul 15 2023 05:03:00 for cloudFPGA (cF) API by
1.9.1