diff --git a/checkin_notes b/checkin_notes index b0e759f464..d4ed000081 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2790,3 +2790,10 @@ David Mar 28 2008 sched/ sched_send.C + +David Mar 28 2008 + - some debugging code + client/ + client_state.C + lib/ + coproc.C,h diff --git a/client/client_state.C b/client/client_state.C index c4074a58c1..e5e1a1ced9 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -239,6 +239,9 @@ int CLIENT_STATE::init() { show_host_info(); coprocs.get(); +#if 0 + fake_cuda(coprocs); +#endif for (i=0; i\n" @@ -107,7 +133,8 @@ void COPROC_CUDA::write_xml(FILE* f) { " %d\n" " %d\n" " %d\n" - " %u\n", + " %u\n" + "\n", count, prop.name, (unsigned int)prop.totalGlobalMem, diff --git a/lib/coproc.h b/lib/coproc.h index b0e0412c16..d240e7667e 100644 --- a/lib/coproc.h +++ b/lib/coproc.h @@ -73,4 +73,6 @@ struct COPROC_CELL_SPE : public COPROC { virtual ~COPROC_CELL_SPE(){} }; +void fake_cuda(COPROCS&); + #endif