CHECK_EQ in utils/EMD/cuda/emd_kernel.cu is undefined
Hi, thanks for your wonderful work.
When I compile the EMD library, there raising a ERROR of the undefined CHECK_EQ method
Then I find that CHECK_INPUT, CHECK_CUDA, CHECK_CONTIGUOUS in the emd_kernel.cu (line 20-22) file are all well-defined but except CHECK_EQ (such as line 182-184).
I would appreciate it if you could provide the code snippet about the correct definition of CHECK_EQ, or point out the mistakes I made in the process.
I have the same issue when compiling on Windows 11
replace the "CHECK_EQ" with "TORCH_CHECK_EQ", then it will be work.
Thanks, and I also tried to define the CHECK_EQ by define CHECK_EQ(x, y) TORCH_CHECK(x==y, #x "must equal to" #y), then it also works.
Am I defining it correctly?
Are the two means essentially the same?