result ← submit_kernel (fail)
failsubmit_kernel
submit_kernel FAILED: kernel did not compile.
Error building extension 'fft_conv_ext': [1/3] /opt/conda/bin/x86_64-conda-linux-gnu-c++ -MMD -MF main.o.d -DTORCH_EXTENSION_NAME=fft_conv_ext -DTORCH_API_INCLUDE_EXTENSION_H -isystem /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include -isystem /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.10 -fPIC -std=c++17 -c /scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/main.cpp -o main.o
FAILED: [code=1] main.o
/opt/conda/bin/x86_64-conda-linux-gnu-c++ -MMD -MF main.o.d -DTORCH_EXTENSION_NAME=fft_conv_ext -DTORCH_API_INCLUDE_EXTENSION_H -isystem /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include -isystem /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.10 -fPIC -std=c++17 -c /scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/main.cpp -o main.o
In file included from /opt/conda/lib/gcc/x86_64-conda-linux-gnu/14.2.0/include/c++/bits/move.h:37,
from /opt/conda/lib/gcc/x86_64-conda-linux-gnu/14.2.0/include/c++/bits/stl_function.h:60,
from /opt/conda/lib/gcc/x86_64-conda-linux-gnu/14.2.0/include/c++/functional:49,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/headeronly/core/DeviceType.h:13,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/c10/core/DeviceType.h:8,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/c10/core/Device.h:4,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:12,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:4,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/ATen/Tensor.h:4,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/function_hook.h:4,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:3,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/variable.h:7,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/autograd.h:4,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:4,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/extension.h:6,
from /scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/main.cpp:1:
/opt/conda/lib/gcc/x86_64-conda-linux-gnu/14.2.0/include/c++/type_traits: In instantiation of 'struct std::is_base_of<pybind11::detail::pyobject_tag, CUstream_st>':
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/cast.h:2099:68: recursively required by substitution of 'template<class T> class pybind11::detail::type_caster<T, typename std::enable_if<std::is_base_of<pybind11::detail::pyobject_tag, typename std::remove_reference<_Tp>::type>::value, void>::type> [with T = CUstream_st]'
2099 | = ::pybind11::detail::concat(type_descr(make_caster<Args>::name)...);
| ^~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/cast.h:2099:68: required from 'constexpr const auto pybind11::detail::argument_loader<const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool>::arg_names'
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/cast.h:2098:27: required from 'class pybind11::detail::argument_loader<const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool>'
2098 | static constexpr auto arg_names
| ^~~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:397:43: required from 'void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Return = void; Args = {const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool}; Extra = {pybind11::name, pybind11::scope, pybind11::sibling, char [22]}]'
397 | sizeof...(Args), cast_in::args_pos >= 0, cast_in::has_kwargs),
| ^~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:275:19: required from 'pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Extra = {pybind11::name, pybind11::scope, pybind11::sibling, char [22]}; <template-parameter-1-3> = void]'
275 | initialize(
| ~~~~~~~~~~^
276 | std::forward<Func>(f), (detail::function_signature_t<Func> *) nullptr, extra...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:1437:22: required from 'pybind11::module_& pybind11::module_::def(const char*, Func&&, const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Extra = {char [22]}]'
1437 | cpp_function func(std::forward<Func>(f),
| ^~~~
/scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/main.cpp:24:6: required from here
24 | m.def("fft_conv_forward_cuda", torch::wrap_pybind_function(fft_conv_forward_cuda), "fft_conv_forward_cuda");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/conda/lib/gcc/x86_64-conda-linux-gnu/14.2.0/include/c++/type_traits:1493:30: error: invalid use of incomplete type 'struct CUstream_st'
1493 | : public __bool_constant<__is_base_of(_Base, _Derived)>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/cuda/include/cufft.h:59,
from /scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/main.cpp:3:
/usr/local/cuda/include/driver_types.h:3035:35: note: forward declaration of 'struct CUstream_st'
3035 | typedef __device_builtin__ struct CUstream_st *cudaStream_t;
| ^~~~~~~~~~~
In file included from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/cast.h:15,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/attr.h:15,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/detail/class.h:13,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:13,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/Exceptions.h:13,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/python.h:12,
from /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/extension.h:10:
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/detail/descr.h: In instantiation of 'static constexpr std::array<const std::type_info*, (sizeof... (Ts) + 1)> pybind11::detail::descr<N, Ts>::types() [with long unsigned int N = 294; Ts = {float2, CUstream_st}]':
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:487:73: required from 'void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Return = void; Args = {const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool}; Extra = {pybind11::name, pybind11::scope, pybind11::sibling, char [22]}]'
487 | PYBIND11_DESCR_CONSTEXPR auto types = decltype(signature)::types();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:275:19: required from 'pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Extra = {pybind11::name, pybind11::scope, pybind11::sibling, char [22]}; <template-parameter-1-3> = void]'
275 | initialize(
| ~~~~~~~~~~^
276 | std::forward<Func>(f), (detail::function_signature_t<Func> *) nullptr, extra...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:1437:22: required from 'pybind11::module_& pybind11::module_::def(const char*, Func&&, const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Extra = {char [22]}]'
1437 | cpp_function func(std::forward<Func>(f),
| ^~~~
/scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/main.cpp:24:6: required from here
24 | m.def("fft_conv_forward_cuda", torch::wrap_pybind_function(fft_conv_forward_cuda), "fft_conv_forward_cuda");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/detail/descr.h:41:19: error: invalid use of incomplete type 'struct CUstream_st'
41 | return {{&typeid(Ts)..., nullptr}};
| ^~~~~~~~~~
/usr/local/cuda/include/driver_types.h:3035:35: note: forward declaration of 'struct CUstream_st'
3035 | typedef __device_builtin__ struct CUstream_st *cudaStream_t;
| ^~~~~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/detail/descr.h:41:42: error: could not convert '{{<expression error>, nullptr}}' from '<brace-enclosed initializer list>' to 'std::array<const std::type_info*, 3>'
41 | return {{&typeid(Ts)..., nullptr}};
| ^
| |
| <brace-enclosed initializer list>
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of 'void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Return = void; Args = {const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool}; Extra = {pybind11::name, pybind11::scope, pybind11::sibling, char [22]}]':
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:275:19: required from 'pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Extra = {pybind11::name, pybind11::scope, pybind11::sibling, char [22]}; <template-parameter-1-3> = void]'
275 | initialize(
| ~~~~~~~~~~^
276 | std::forward<Func>(f), (detail::function_signature_t<Func> *) nullptr, extra...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:1437:22: required from 'pybind11::module_& pybind11::module_::def(const char*, Func&&, const Extra& ...) [with Func = torch::detail::wrap_pybind_function_impl_<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, false>(void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), std::index_sequence<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11>, std::bool_constant<false>)::<lambda(torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 0>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 1>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 2>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 3>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 4>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 5>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 6>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 7>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 8>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 9>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 10>, torch::detail::Arg<void (&)(const float*, const float*, float*, float*, float2*, int, int, int, CUstream_st*, int, int, bool), 11>)>; Extra = {char [22]}]'
1437 | cpp_function func(std::forward<Func>(f),
| ^~~~
/scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/main.cpp:24:6: required from here
24 | m.def("fft_conv_forward_cuda", torch::wrap_pybind_function(fft_conv_forward_cuda), "fft_conv_forward_cuda");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:487:73: in 'constexpr' expansion of 'pybind11::detail::descr<294, float2, CUstream_st>::types()'
/scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:487:73: error: 'constexpr' call flows off the end of the function
487 | PYBIND11_DESCR_CONSTEXPR auto types = decltype(signature)::types();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[2/3] /usr/local/cuda/bin/nvcc -MD -MF cuda.cuda.o.d -ccbin /opt/conda/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=fft_conv_ext -DTORCH_API_INCLUDE_EXTENSION_H -isystem /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include -isystem /scratch/abaner/KernelBench/.venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.10 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -arch=sm_80 -std=c++17 -c /scratch/abaner/KernelBench/runs/pop_l123_st_gpt/popcorn/FW-GLM-5-1/level_1_problem_7_cache/k_67442fa5ee5c/fft_conv_ext/cuda.cu -o cuda.cuda.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
ninja: build stopped: subcommand failed.