Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
one
spconv
Commits
b45a1011
Commit
b45a1011
authored
Oct 19, 2021
by
yan.yan
Browse files
windows debug
parent
fc38c00d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
pyproject.toml
pyproject.toml
+1
-1
setup.py
setup.py
+2
-1
spconv/build.py
spconv/build.py
+1
-0
spconv/csrc/sparse/indices.py
spconv/csrc/sparse/indices.py
+1
-1
No files found.
pyproject.toml
View file @
b45a1011
[build-system]
requires
=
[
"setuptools>=41.0"
,
"wheel"
,
"pccm>=0.2.
7
"
,
"cumm>=0.1.6"
]
requires
=
[
"setuptools>=41.0"
,
"wheel"
,
"pccm>=0.2.
8
"
,
"cumm>=0.1.6"
]
build-backend
=
"setuptools.build_meta"
setup.py
View file @
b45a1011
...
...
@@ -140,7 +140,8 @@ if disable_jit is not None and disable_jit == "1":
ext_modules
:
List
[
Extension
]
=
[
PCCMExtension
([
cu
,
SpconvOps
()],
"spconv/core_cc"
,
Path
(
__file__
).
resolve
().
parent
/
"spconv"
)
Path
(
__file__
).
resolve
().
parent
/
"spconv"
,
objects_folder
=
"objects"
)
]
else
:
cmdclass
=
{
...
...
spconv/build.py
View file @
b45a1011
...
...
@@ -28,4 +28,5 @@ if project_is_installed(PACKAGE_NAME) and project_is_editable(PACKAGE_NAME):
pccm
.
builder
.
build_pybind
([
cu
,
SpconvOps
()],
PACKAGE_ROOT
/
"core_cc"
,
namespace_root
=
PACKAGE_ROOT
,
objects_folder
=
"objects"
,
load_library
=
False
)
spconv/csrc/sparse/indices.py
View file @
b45a1011
...
...
@@ -506,7 +506,7 @@ class SparseConvIndicesKernel(pccm.ParameterizedClass):
int filter_offset = blockIdx.y;
uint32_t filter_mask_out = (1u << (filter_offset));
uint32_t filter_mask_in = (1u << (RS - 1 - filter_offset));
uint32_t filter_mask_center = (1u << (RS / 2));
//
uint32_t filter_mask_center = (1u << (RS / 2));
loc_iter.set_filter_offset(filter_offset);
auto indice_ptr_inv = indice_pairs + indices_pair_size * RS;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment