Skip to content

Commit 8b6de13

Browse files
v0.4.3
1 parent 9996a03 commit 8b6de13

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PlatformAware"
22
uuid = "e7c50b67-2c03-471e-9cf2-69e515d86ecf"
33
authors = ["Francisco Heron de Carvalho Junior <heron@dc.ufc.br> and contributors"]
4-
version = "0.4.2"
4+
version = "0.4.3"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

src/platform.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ function load!()
130130
empty!(state.platform_feature)
131131
for (k,v) in state.platform_feature_all
132132
state.platform_feature[k] = v
133-
end
134-
133+
end
135134
end
136135

137136
# load!()
@@ -170,7 +169,6 @@ function include_platform_feature!(f)
170169
keys(state.platform_feature)
171170
end
172171

173-
174172
function platform_parameter_macro!(f)
175173

176174
if (f == :clear)
@@ -183,7 +181,6 @@ function platform_parameter_macro!(f)
183181
end
184182
end
185183

186-
187184
function platform_parameters_kernel(p_list)
188185

189186
# move p_list (p::T) to p_dict (p => T)
@@ -225,7 +222,6 @@ function getaddparameter()
225222
return can_add_parameter[]
226223
end
227224

228-
229225
macro platform(t,f)
230226
if (t == :default)
231227
# @platform default creates an entry function, called from outside, and a (default) kernel function
@@ -291,7 +287,6 @@ function build_entry_body(fname, fargs, kargs)
291287
Expr(:call, fname, kargs, pargs..., fargs...)
292288
end
293289

294-
295290
# build_kernel_function
296291

297292
function build_kernel_function(f::Expr)
@@ -325,7 +320,6 @@ function build_kernel_signature(fsign::Expr)
325320
Expr(:where, Expr(:call, new_call_node_args...), where_vars...)
326321
end
327322

328-
329323
# utility functions
330324

331325
function collect_arg_names(par)

0 commit comments

Comments
 (0)