1/* 2 * Copyright (c) 2013-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 21 unchanged lines hidden (view full) --- 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 * POSSIBILITY OF SUCH DAMAGE. 32 * 33 * Author: Anthony Gutierrez 34 */ 35 36#include "gpu-compute/hsa_object.hh" 37 |
38#include <cassert> |
39#include <fstream> 40 |
41#include "base/misc.hh" |
42 43HsaObject::HsaObject(const std::string &fname) 44 : readonlyData(nullptr), filename(fname) 45{ 46} 47 48HsaObject* 49HsaObject::createHsaObject(const std::string &fname) --- 28 unchanged lines hidden --- |