Commit b45a1011 authored by yan.yan's avatar yan.yan
Browse files

windows debug

parent fc38c00d
[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"
......@@ -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 = {
......
......@@ -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)
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment