Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Commits
f04224a8
Commit
f04224a8
authored
9 months ago
by
Markus Holzer
Browse files
Options
Downloads
Patches
Plain Diff
Exclude CFunction from cpujit
parent
d5a09762
No related branches found
No related tags found
1 merge request
!412
[FIX] Vector Size for SVE instruction set is in free kernel parameters
Pipeline
#69244
canceled
9 months ago
Stage: pretest
Stage: test
Stage: docs
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pystencils/cpu/cpujit.py
+1
-3
1 addition, 3 deletions
src/pystencils/cpu/cpujit.py
with
1 addition
and
3 deletions
src/pystencils/cpu/cpujit.py
+
1
−
3
View file @
f04224a8
...
@@ -62,7 +62,7 @@ import numpy as np
...
@@ -62,7 +62,7 @@ import numpy as np
from
pystencils
import
FieldType
from
pystencils
import
FieldType
from
pystencils.astnodes
import
LoopOverCoordinate
from
pystencils.astnodes
import
LoopOverCoordinate
from
pystencils.backends.cbackend
import
generate_c
,
get_headers
,
CFunction
from
pystencils.backends.cbackend
import
generate_c
,
get_headers
from
pystencils.cpu.msvc_detection
import
get_environment
from
pystencils.cpu.msvc_detection
import
get_environment
from
pystencils.include
import
get_pystencils_include_path
from
pystencils.include
import
get_pystencils_include_path
from
pystencils.kernel_wrapper
import
KernelWrapper
from
pystencils.kernel_wrapper
import
KernelWrapper
...
@@ -447,8 +447,6 @@ def create_function_boilerplate_code(parameter_info, name, ast_node, insert_chec
...
@@ -447,8 +447,6 @@ def create_function_boilerplate_code(parameter_info, name, ast_node, insert_chec
parameters
.
append
(
f
"
buffer_
{
field
.
name
}
.strides[
{
param
.
symbol
.
coordinate
}
] /
{
item_size
}
"
)
parameters
.
append
(
f
"
buffer_
{
field
.
name
}
.strides[
{
param
.
symbol
.
coordinate
}
] /
{
item_size
}
"
)
elif
param
.
is_field_shape
:
elif
param
.
is_field_shape
:
parameters
.
append
(
f
"
buffer_
{
param
.
field_name
}
.shape[
{
param
.
symbol
.
coordinate
}
]
"
)
parameters
.
append
(
f
"
buffer_
{
param
.
field_name
}
.shape[
{
param
.
symbol
.
coordinate
}
]
"
)
elif
type
(
param
.
symbol
)
is
CFunction
:
continue
else
:
else
:
extract_function
,
target_type
=
type_mapping
[
param
.
symbol
.
dtype
.
numpy_dtype
.
type
]
extract_function
,
target_type
=
type_mapping
[
param
.
symbol
.
dtype
.
numpy_dtype
.
type
]
pre_call_code
+=
template_extract_scalar
.
format
(
extract_function
=
extract_function
,
pre_call_code
+=
template_extract_scalar
.
format
(
extract_function
=
extract_function
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment