Skip to content

Commit

Permalink
Commenting out functions that don't compile on some platforms (Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Dec 5, 2014
1 parent 3502a0f commit 37cbf5f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rai/cli/entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ void fill_128_reference (void * data)
}
}

#if 0
void fill_128_sse (void * data)
{
xorshift128 rng;
Expand All @@ -58,6 +59,7 @@ void fill_128_sse (void * data)
_mm_store_si128 (i, _mm_set_epi64x (v1, v0));
}
}
#endif // 0

void fill_1024_reference (void * data)
{
Expand All @@ -74,6 +76,7 @@ void fill_1024_reference (void * data)
}
}

#if 0
void fill_1024_sse (void * data)
{
xorshift1024 rng;
Expand All @@ -98,6 +101,7 @@ void fill_zero (void * data)
_mm_store_si128 (i, _mm_setzero_si128 ());
}
}
#endif // 0

int main (int argc, char * const * argv)
{
Expand Down Expand Up @@ -156,6 +160,7 @@ int main (int argc, char * const * argv)
auto end2 (std::chrono::high_resolution_clock::now ());
std::cerr << boost::str (boost::format ("Generation time: %1%us validation time: %2%us\n") % std::chrono::duration_cast <std::chrono::microseconds> (end1 - begin1).count () % std::chrono::duration_cast <std::chrono::microseconds> (end2 - end1).count ());
}
#if 0
else if (vm.count ("xorshift_profile"))
{
auto unaligned (new uint8_t [64 * 1024 * 1024 + 16]);
Expand Down Expand Up @@ -211,6 +216,7 @@ int main (int argc, char * const * argv)
std::cerr << "SSE fill 1024 " << std::chrono::duration_cast <std::chrono::microseconds> (end - begin).count () << std::endl;
}
}
#endif // 0
else if (vm.count ("verify_profile"))
{
rai::keypair key;
Expand Down

0 comments on commit 37cbf5f

Please sign in to comment.