Skip to content

Commit f296b57

Browse files
authored
Use latest cpp (#18)
* Latest cpp * New version * Latest cpp * Formatting
1 parent 2f8d810 commit f296b57

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.event.pull_request.draft == false
1313
runs-on: ubuntu-20.04
1414
container:
15-
image: faasm/cpython:0.1.0
15+
image: faasm/cpython:0.1.1
1616
defaults:
1717
run:
1818
working-directory: /code/python
@@ -42,7 +42,7 @@ jobs:
4242
REDIS_QUEUE_HOST: redis
4343
REDIS_STATE_HOST: redis
4444
container:
45-
image: faasm/cpython:0.1.0
45+
image: faasm/cpython:0.1.1
4646
defaults:
4747
run:
4848
working-directory: /code/python

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM faasm/cpp-sysroot:0.1.0
1+
FROM faasm/cpp-sysroot:0.1.6
22
ARG FAASM_PYTHON_VERSION
33

44
RUN apt install -y \

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0
1+
0.1.1

pyfaasm/pyfaasm/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ def __init__(self, matrix_size, n_splits):
2020
self.bytes_per_matrix = (matrix_size * matrix_size) * NP_ELEMENT_SIZE
2121

2222
def get_submatrices_per_row(self, split_level):
23-
return 2 ** split_level
23+
return 2**split_level
2424

2525
def get_submatrix_size(self, split_level):
26-
return self.matrix_size // (2 ** split_level)
26+
return self.matrix_size // (2**split_level)
2727

2828
def get_bytes_per_submatrix(self, split_level):
2929
sm_size = self.get_submatrix_size(split_level)

pyfaasm/pyfaasm/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# https://docs.python.org/3/library/ctypes.html
66
#
77
# Faasm host interface:
8-
# https://github.com/faasm/faasm/blob/main/include/faasm/host_interface.h
8+
# https://github.com/faasm/cpp/blob/main/libfaasm/faasm/host_interface.h
99

1010
env_cache = dict()
1111

third-party/cpp

Submodule cpp updated 122 files

0 commit comments

Comments
 (0)