File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ version = "0.4.1"
66[deps ]
77AbstractTrees = " 1520ce14-60c1-5f80-bbc7-55ef81b5835c"
88CpuId = " adafc99b-e345-5852-983c-f28acb93d879"
9+ Distributed = " 8ba89e20-285c-5b6f-9357-94700520ee1b"
910Downloads = " f43a241f-c20a-4ad4-852c-f6b1247861c6"
1011HTTP = " cd3eb016-35fb-5094-929b-558a96fad6f3"
1112InteractiveUtils = " b77e0a4c-d291-57a0-90e8-8db25a27a240"
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ using Scratch
1212using Downloads
1313using InteractiveUtils
1414using HTTP
15+ using Distributed
1516
1617include (" utils.jl" )
1718
@@ -42,7 +43,6 @@ include("features/qualifiers/amd/amd_processors.jl")
4243include (" features/qualifiers/amd/amd_accelerators.jl" )
4344include (" features/qualifiers/xilinx/xilinx.jl" )
4445
45-
4646# main functionality (@platform macro and default types)
4747include (" platform.jl" )
4848
Original file line number Diff line number Diff line change @@ -123,13 +123,13 @@ function load!()
123123 platform_description_dict = readPlatormDescription ()
124124 platform_description_dict[" node" ][" node_count" ] = try Distributed. nworkers () catch _ 1 end
125125 loadFeatures! (platform_description_dict, state. platform_feature_default_all, state. platform_feature_all)
126-
127126 setupWorkers (platform_description_dict, state. platform_feature_all)
128127
129128 empty! (state. platform_feature)
130129 for (k,v) in state. platform_feature_all
131130 state. platform_feature[k] = v
132131 end
132+
133133end
134134
135135# load!()
@@ -162,7 +162,7 @@ function reset_platform_feature!()
162162 keys (state. platform_feature)
163163end
164164
165- function include_actual_platform_argument ! (f)
165+ function include_platform_feature ! (f)
166166 state. platform_feature[f] = state. platform_feature_all[f]
167167 state. platform_feature_default[f] = state. platform_feature_default_all[f]
168168 keys (state. platform_feature)
@@ -177,7 +177,7 @@ function platform_parameter_macro!(f)
177177 reset_platform_feature! ()
178178 else
179179 check_all (f)
180- include_actual_platform_argument ! (f)
180+ include_platform_feature ! (f)
181181 end
182182 end
183183
You can’t perform that action at this time.
0 commit comments