Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devel #2897

Merged
merged 76 commits into from
Feb 2, 2024
Merged

Devel #2897

Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
a73ab28
github-actions(deps): bump actions/download-artifact from 3 to 4 (#2865)
dependabot[bot] Dec 20, 2023
fdb4e0c
Revert "github-actions(deps): bump actions/download-artifact from 3 t…
jvesely Dec 23, 2023
120e318
requirements: update grpcio requirement from <1.60.0 to <1.61.0 (#2855)
dependabot[bot] Dec 30, 2023
c425bf3
requirements: Bump pycuda to <2024 (#2869)
jvesely Dec 31, 2023
ef40bac
requirements: update pytest requirement from <7.4.4 to <7.4.5 (#2870)
dependabot[bot] Jan 2, 2024
822fc4f
llvm, Mechanism: Use checked API to get params/state
jvesely Dec 22, 2023
7d7d879
llvm, Component: Drop 'shadow_inputs' from compiled state structure
jvesely Jan 1, 2024
26cd570
llvm, Component: Drop 'weight' and 'exponent' from compiled parameters
jvesely Jan 1, 2024
7be9eb3
llvm, Port: Use checked API to get params/state
jvesely Jan 1, 2024
6669977
llvm, Component: Drop 'gating_signal_params' from compiled parameters
jvesely Jan 1, 2024
9f94acc
llvm, Projection: Use checked API to get params/state
jvesely Jan 1, 2024
f0f90b8
llvm, Component: Drop 'retain_old_simulation_data' from compiled stru…
jvesely Jan 2, 2024
cdd50d0
llvm: Codestyle
jvesely Jan 2, 2024
c14c596
llvm, ControlSignal: Drop unused cost calculation code
jvesely Jan 2, 2024
f64e302
llvm, OCM: Use tracking API to access OCM params in evaluate
jvesely Jan 3, 2024
716f434
llvm, AutodiffComposition: Pass state pointer to all places that acce…
jvesely Jan 3, 2024
7c65b0e
llvm, AutodiffComposition: Use universal/tracked API to access parame…
jvesely Jan 3, 2024
772f265
requirements: update pillow requirement from <10.2.0 to <10.3.0 (#2872)
dependabot[bot] Jan 3, 2024
1021932
Merge remote-tracking branch 'origin/devel' into devel
jvesely Jan 3, 2024
654b443
llvm: Use checked/universal API to access binary structures (#2873)
jvesely Jan 3, 2024
4fffbab
PECOptimizationFunction: Use opt_func instead of self.method to const…
jvesely Jan 4, 2024
760e380
tests/ParameterEstimationComposition: Use fixed seed for optuna sampl…
jvesely Jan 4, 2024
1612d43
tests/PEC: Seed optuna samplers (#2875)
jvesely Jan 4, 2024
3de156c
tests/Composition: Check that running/executing with no inputs produc…
jvesely Dec 31, 2023
41b041c
tests/learning: Enable node_spec_types test.
jvesely Dec 31, 2023
f83218d
tests/LCA: Add invocation wrapper to use in benchmark fixture
jvesely Jan 3, 2024
a6242aa
tests/control: Only consider first 10 values in checks
jvesely Jan 3, 2024
52c89dc
setup: Remove stale warning filter.
jvesely Jan 6, 2024
fc75cd2
tests/Composition: Remove spurious return statement
jvesely Jan 6, 2024
dbb30cb
tests: Don't use deprecated pytest.warns(None)
jvesely Jan 7, 2024
a532afb
tests/MemoryFunctions: Escape special characters in regexp
jvesely Jan 7, 2024
58b7f45
MDF: write_mdf_file: clarify documentation on fmt arg
kmantel Jan 11, 2024
1fea7a9
MDF: write_mdf_file: fix bug in detecting filename extension
kmantel Jan 11, 2024
bc06114
MDF: add NodeRole.LEARNING as an exclusion for mechanisms
kmantel Jan 9, 2024
55eff7f
MDF: fix bug in detecting imported modules in script
kmantel Jan 6, 2024
12cffac
Functions/MemoryFunctions: Do not use comparisons to empty list
jvesely Jan 7, 2024
fcd842c
Distance, LinearCombination: Only compute np.log if needed
jvesely Jan 11, 2024
0e960c1
Port/_parse_port_spec: Convert value to string to compare to keyword
jvesely Jan 11, 2024
61e1a4d
tests: MDF: correct implicit use of locals in exec
kmantel Jan 6, 2024
6a298c2
tests: MDF: test equivalence using np assert_array_equal
kmantel Jul 20, 2023
513895c
tests: MDF: standardize model_backprop object naming
kmantel Jan 6, 2024
20bae8c
tests: MDF: rework. share code. correct shared state
kmantel Jan 5, 2024
6f3e968
tests: MDF: replace use of json-named functions with mdf-named
kmantel Jan 11, 2024
d33eb10
tests: MDF: use tempfile instead of manually named files
kmantel Jan 11, 2024
64caf83
tests: MDF: rename
kmantel Jan 11, 2024
a58ff31
Merge pull request #2878 from kmantel/mdf-tests
kmantel Jan 16, 2024
6d58d3c
broken_trans_deps: Block sphinxcontrib-applehelp>=1.0.8
jvesely Jan 19, 2024
ede6372
broken_trans_deps: Block sphinxcontrib-devhelp>=1.0.6
jvesely Jan 19, 2024
31efb67
broken_trans_deps: Block sphinxcontrib-htmlhelp>=2.0.5
jvesely Jan 19, 2024
0267cbb
broken_trans_deps: Block sphinxcontrib-serializinghtml>=1.1.10
jvesely Jan 19, 2024
ae84d45
broken_trans_deps: Block sphinxcontrib-qthelp>=1.0.7
jvesely Jan 19, 2024
0a7c03e
deps: Block sphinxcontrib-* that silently depend on sphinx >=5 (#2880)
jvesely Jan 19, 2024
d40210b
github-actions(deps): bump actions/cache from 3 to 4 (#2879)
dependabot[bot] Jan 20, 2024
b267b0a
Merge remote-tracking branch 'origin/devel' into warn
jvesely Jan 20, 2024
2a3f89e
treewide: Assign values to ".base" attribute of a modulated Parameter
jvesely Jan 21, 2024
b2a5cb7
requirements: Add scipy to requirements file
jvesely Jan 21, 2024
8ce059a
Functions/UniformToNormalDist: Do not check for scipy at runtime
jvesely Jan 21, 2024
15fcba7
tests/RecurrentTransferMechanism: Use matrix.modulated or get_mod_mat…
jvesely Jan 21, 2024
16c70ce
setup: Error on SyntaxWarnings
jvesely Jan 21, 2024
3380105
Merge pull request #2886 from jvesely/devel
davidt0x Jan 23, 2024
6874f84
Merge remote-tracking branch 'origin/devel' into warn
jvesely Jan 23, 2024
f9705ca
codeql: Only purge python cache if CODEQL_PYTHON is set (#2888)
jvesely Jan 25, 2024
b453f72
Merge remote-tracking branch 'origin/devel' into warn
jvesely Jan 25, 2024
26f6b64
Reduce number of warnings emitted during testing (#2887)
jvesely Jan 25, 2024
76d4bf9
requirements: update beartype requirement from <0.16.0 to <0.17.0 (#2…
dependabot[bot] Jan 26, 2024
a84bfff
requirements: update pandas requirement from <2.1.5 to <2.2.1 (#2890)
dependabot[bot] Jan 27, 2024
492cff1
ci/ga: Upload pr_number only once
jvesely Jan 29, 2024
8197593
ci/ga: Do not upload distfile for version restricted run
jvesely Jan 29, 2024
7f68745
ci/ga: Add version restriction to test artifact name
jvesely Jan 29, 2024
813b4fc
ci/github-actions: Make sure the uploaded artifacts are unique (#2892)
jvesely Jan 30, 2024
9f2f9b8
ci/ga: Bump versions of actions/{download,upload}-artifact (#2893)
jvesely Jan 30, 2024
1134673
requirements: update dill requirement from <0.3.8 to <0.3.9 (#2891)
dependabot[bot] Jan 30, 2024
34ee885
requirements: update pytest requirement from <7.4.5 to <8.0.1 (#2896)
dependabot[bot] Jan 31, 2024
1be0b89
ci/ga: Print additional CPU and memory info on all runners (#2898)
jvesely Feb 1, 2024
eb34841
ci/ga: Use all logical cores to run tests (#2900)
jvesely Feb 1, 2024
47a59ec
tests/learning: Do not apply marks to a fixture (#2901)
jvesely Feb 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
llvm, Projection: Use checked API to get params/state
Signed-off-by: Jan Vesely <[email protected]>
  • Loading branch information
jvesely committed Jan 2, 2024
commit 9f94acc429373225f1c3ee529b92cf5064b57df5
7 changes: 5 additions & 2 deletions psyneulink/core/components/projections/projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1117,8 +1117,11 @@ def _gen_llvm_function_body(self, ctx, builder, params, state, arg_in, arg_out,
builder.store(builder.load(arg_in), arg_out)
return builder

mf_state = pnlvm.helpers.get_state_ptr(builder, self, state, self.parameters.function.name)
mf_params = pnlvm.helpers.get_param_ptr(builder, self, params, self.parameters.function.name)
mf_params, mf_state = ctx.get_param_or_state_ptr(builder,
self,
self.parameters.function,
param_struct_ptr=params,
state_struct_ptr=state)
main_function = ctx.import_llvm_function(self.function)
builder.call(main_function, [mf_params, mf_state, arg_in, arg_out])

Expand Down