function compilation error #1020
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unfortunately Google Colab's version of We are reliant on google collab making this change, it is not something we can fix ourselves. Looking at the code block in the first screenshot, I think line 41 is your issue, as C/C++/CUDA variable names cannot contain Using |
Beta Was this translation helpful? Give feedback.
Unfortunately Google Colab's version of
ipykernel
is very old and doesn't forward messages fromstd::cout
to the user, so the actual compilation error message isn't visible when using google colab: see FLAMEGPU/FLAMEGPU2-tutorial-python#10 and the issue we opened with googlecollab googlecolab/colabtools#2230 requesting it be updated.We are reliant on google collab making this change, it is not something we can fix ourselves.
Looking at the code block in the first screenshot, I think line 41 is your issue, as C/C++/CUDA variable names cannot contain
-
.Using
const int has_i = ...
should resolve that problem at least.