cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_lithops Namespace Reference

Functions

def my_function (input)
 

Variables

list input = ["HelloWorld", "HowAreYouToday?", "HelloWorld", "HowAreYouToday?", "HelloWorld", "HowAreYdsf4f43f4rf4f4f4ouToday?"]
 
string output = "111111111111111111111111111111111111111111111111"
 
 async_result = pool.map_async(my_function, input)
 
 result = async_result.get(timeout=30)
 

Function Documentation

◆ my_function()

def test_lithops.my_function (   input)

Definition at line 28 of file test_lithops.py.

28 def my_function(input):
29  trieres_lib=os.environ['cFpRootDir'] + "/HOST/custom/uppercase/languages/python/build"
30  sys.path.append(trieres_lib)
31  import _trieres
32  out, output = _trieres.uppercase("127.0.0.1", "2718", input, True)
33  return output
34 
def my_function(input)
Definition: test_lithops.py:28

Variable Documentation

◆ async_result

test_lithops.async_result = pool.map_async(my_function, input)

Definition at line 36 of file test_lithops.py.

◆ input

list test_lithops.input = ["HelloWorld", "HowAreYouToday?", "HelloWorld", "HowAreYouToday?", "HelloWorld", "HowAreYdsf4f43f4rf4f4f4ouToday?"]

Definition at line 25 of file test_lithops.py.

◆ output

string test_lithops.output = "111111111111111111111111111111111111111111111111"

Definition at line 26 of file test_lithops.py.

◆ result

test_lithops.result = async_result.get(timeout=30)

Definition at line 38 of file test_lithops.py.