Purge unused variables (to silence warnings)

Change-Id: Ifc11c4bc4725f4c70d6be75208b6906d163754b4
이 커밋은 다음에 포함됨:
Konstantin Zhuravlyov가 2016-08-31 14:54:20 -04:00를 커밋했습니다
1 부모 74f5aca93d
커밋 518da7d4e7
2 파일이 변경됨
-5

검색과 일치하는 파일 없음

-4
파일 보기
@@ -653,10 +653,6 @@ hsa_status_t GpuAgent::EnableDmaProfiling(bool enable) {
hsa_status_t GpuAgent::GetInfo(hsa_agent_info_t attribute, void* value) const {
const size_t kNameSize = 64; // agent, and vendor name size limit
const core::ExtensionEntryPoints& extensions =
core::Runtime::runtime_singleton_->extensions_;
const size_t attribute_u = static_cast<size_t>(attribute);
switch (attribute_u) {
case HSA_AGENT_INFO_NAME:
-1
파일 보기
@@ -264,7 +264,6 @@ bool ExtensionEntryPoints::LoadImage(std::string library_name) {
void* ptr;
ptr = os::GetExportAddress(lib, "hsa_ext_image_get_capability_impl");
bool libIsImage = (ptr != NULL);
if (ptr != NULL) {
assert(image_api.hsa_ext_image_get_capability_fn ==
(decltype(::hsa_ext_image_get_capability)*)hsa_ext_null &&