qstruct.hh (11308:7d8836fd043d) qstruct.hh (11534:7106f550afad)
1/*
2 * Copyright (c) 2011-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:

--- 86 unchanged lines hidden (view full) ---

95 uint16_t num_args;
96};
97
98// State used to start (or restart) a WF
99struct WFContext
100{
101 // 32 bit values
102 // barrier state
1/*
2 * Copyright (c) 2011-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:

--- 86 unchanged lines hidden (view full) ---

95 uint16_t num_args;
96};
97
98// State used to start (or restart) a WF
99struct WFContext
100{
101 // 32 bit values
102 // barrier state
103 int bar_cnt[VSZ];
103 std::vector<int> bar_cnt;
104
105 // id (which WF in the WG)
106 int cnt;
107
108 // more barrier state
109 int max_bar_cnt;
110 int old_barrier_cnt;
111 int barrier_cnt;

--- 90 unchanged lines hidden ---
104
105 // id (which WF in the WG)
106 int cnt;
107
108 // more barrier state
109 int max_bar_cnt;
110 int old_barrier_cnt;
111 int barrier_cnt;

--- 90 unchanged lines hidden ---