NumPower / numpower

PHP extension for efficient scientific computing and array manipulation with GPU support
https://numpower.org
Other
185 stars 4 forks source link

fix: quiet compilation warning about implicit functions #27

Closed markkimsal closed 1 year ago

markkimsal commented 1 year ago

Missing ifdef checks resulting in the compiler complaining about a function that is only defined within HAVE_CUBLAS blocks. The code could not have reached the function in question.

henrique-borba commented 1 year ago

Thank you @markkimsal

I just took advantage of your MR to add this same check in the other places that I identified that were still missing.

Fix https://github.com/NumPower/numpower/issues/25