main.h 1.5 KB

12345678910111213141516171819202122232425262728
  1. //========================================================================================================================================================================================================200
  2. // MAIN HEADER
  3. //========================================================================================================================================================================================================200
  4. //====================================================================================================100
  5. // DEFINE
  6. //====================================================================================================100
  7. #define fp float
  8. #ifdef RD_WG_SIZE_0_0
  9. #define NUMBER_THREADS RD_WG_SIZE_0_0
  10. #elif defined(RD_WG_SIZE_0)
  11. #define NUMBER_THREADS RD_WG_SIZE_0
  12. #elif defined(RD_WG_SIZE)
  13. #define NUMBER_THREADS RD_WG_SIZE
  14. #else
  15. #define NUMBER_THREADS 4
  16. #endif
  17. //====================================================================================================100
  18. // End
  19. //====================================================================================================100
  20. //========================================================================================================================================================================================================200
  21. // End
  22. //========================================================================================================================================================================================================200