gpu-compute: remove brig_object.hh from hsa_object.cc
authorTony Gutierrez <anthony.gutierrez@amd.com>
Wed, 17 Feb 2016 16:46:02 +0000 (11:46 -0500)
committerTony Gutierrez <anthony.gutierrez@amd.com>
Wed, 17 Feb 2016 16:46:02 +0000 (11:46 -0500)
brig_object.hh is specific to the HSAIL ISA, and hence should not be
included in ISA-agnostic code.

src/gpu-compute/hsa_object.cc

index 91dfb160ec09648541f12365040dcaf49da46dd2..e74a45454f446a6395eea0ea41dc5c7c95ce7521 100644 (file)
 
 #include "gpu-compute/hsa_object.hh"
 
+#include <cassert>
 #include <fstream>
 
-#include "gpu-compute/brig_object.hh"
+#include "base/misc.hh"
 
 HsaObject::HsaObject(const std::string &fname)
     : readonlyData(nullptr), filename(fname)