diff --git a/client/client_state.cpp b/client/client_state.cpp index a786a40315..d641b0b828 100644 --- a/client/client_state.cpp +++ b/client/client_state.cpp @@ -168,10 +168,12 @@ void CLIENT_STATE::show_host_info() { "Processor: %d %s %s", host_info.p_ncpus, host_info.p_vendor, host_info.p_model ); - msg_printf(NULL, MSG_INFO, - "Processor: %s cache", - buf - ); + if (host_info.m_cache > 0) { + msg_printf(NULL, MSG_INFO, + "Processor: %s cache", + buf + ); + } msg_printf(NULL, MSG_INFO, "Processor features: %s", host_info.p_features ); diff --git a/lib/coproc.cpp b/lib/coproc.cpp index b087d78151..be63ab3b45 100644 --- a/lib/coproc.cpp +++ b/lib/coproc.cpp @@ -126,7 +126,9 @@ void COPROCS::summary_string(char* buf, int len) { vector COPROCS::get(bool use_all) { vector strings; COPROC_CUDA::get(*this, strings, use_all); +#ifndef __APPLE__ // ATI does not yet support CAL on Macs COPROC_ATI::get(*this, strings); +#endif return strings; }