File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
tensorflow/core/platform/windows Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -78,33 +78,33 @@ void* AlignedMalloc(size_t size, int minimum_alignment) {
7878
7979void AlignedFree (void * aligned_memory) {
8080#ifdef TENSORFLOW_USE_JEMALLOC
81- jemalloc_free (aligned_memory);
81+ jemalloc_free (aligned_memory);
8282#else
83- _aligned_free (aligned_memory);
83+ _aligned_free (aligned_memory);
8484#endif
8585}
8686
8787void * Malloc (size_t size) {
8888#ifdef TENSORFLOW_USE_JEMALLOC
89- return jemalloc_malloc (size);
89+ return jemalloc_malloc (size);
9090#else
91- return malloc (size);
91+ return malloc (size);
9292#endif
9393}
9494
9595void * Realloc (void * ptr, size_t size) {
9696#ifdef TENSORFLOW_USE_JEMALLOC
97- return jemalloc_realloc (ptr, size);
97+ return jemalloc_realloc (ptr, size);
9898#else
99- return realloc (ptr, size);
99+ return realloc (ptr, size);
100100#endif
101101}
102102
103103void Free (void * ptr) {
104104#ifdef TENSORFLOW_USE_JEMALLOC
105- return jemalloc_free (ptr);
105+ return jemalloc_free (ptr);
106106#else
107- return free (ptr);
107+ return free (ptr);
108108#endif
109109}
110110
You can’t perform that action at this time.
0 commit comments