File tree Expand file tree Collapse file tree 1 file changed +4
-28
lines changed Expand file tree Collapse file tree 1 file changed +4
-28
lines changed Original file line number Diff line number Diff line change @@ -162,40 +162,16 @@ typedef void * thread_ret_t;
162162
163163#define GGML_PRINT(...) printf(__VA_ARGS__)
164164
165+ //
166+ // end of logging block
167+ //
168+
165169#ifdef GGML_USE_ACCELERATE
166170// uncomment to use vDSP for soft max computation
167171// note: not sure if it is actually faster
168172//#define GGML_SOFT_MAX_ACCELERATE
169173#endif
170174
171- //
172- // logging
173- //
174-
175- #if (GGML_DEBUG >= 1)
176- #define GGML_PRINT_DEBUG(...) printf(__VA_ARGS__)
177- #else
178- #define GGML_PRINT_DEBUG(...)
179- #endif
180-
181- #if (GGML_DEBUG >= 5)
182- #define GGML_PRINT_DEBUG_5(...) printf(__VA_ARGS__)
183- #else
184- #define GGML_PRINT_DEBUG_5(...)
185- #endif
186-
187- #if (GGML_DEBUG >= 10)
188- #define GGML_PRINT_DEBUG_10(...) printf(__VA_ARGS__)
189- #else
190- #define GGML_PRINT_DEBUG_10(...)
191- #endif
192-
193- #define GGML_PRINT(...) printf(__VA_ARGS__)
194-
195- //
196- // end of logging block
197- //
198-
199175#if defined(_MSC_VER) || defined(__MINGW32__)
200176#define GGML_ALIGNED_MALLOC(size) _aligned_malloc(size, GGML_MEM_ALIGN)
201177#define GGML_ALIGNED_FREE(ptr) _aligned_free(ptr)
You can’t perform that action at this time.
0 commit comments