hsa_object.cc (11308:7d8836fd043d) hsa_object.cc (11344:d9205e67b172)
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
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>
38#include <fstream>
39
39#include <fstream>
40
40#include "gpu-compute/brig_object.hh"
41#include "base/misc.hh"
41
42HsaObject::HsaObject(const std::string &fname)
43 : readonlyData(nullptr), filename(fname)
44{
45}
46
47HsaObject*
48HsaObject::createHsaObject(const std::string &fname)

--- 28 unchanged lines hidden ---
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 ---