Move warpSize to header, have shuffles use default warpsize.

This commit is contained in:
Ben Sander
2016-02-15 05:41:09 -06:00
parent 3b2d4acabc
commit bd7e3b83b9
2 ha cambiato i file con 14 aggiunte e 15 eliminazioni
-6
Vedi File
@@ -49,8 +49,6 @@ THE SOFTWARE.
//---
// Environment variables:
// TODO-HCC - map this to the HC instruction that uses HSAIL to get the wave size.
int warpSize = 64;
// Intended to distinguish whether an environment variable should be visible only in debug mode, or in debug+release.
//static const int debug = 0;
@@ -169,7 +167,6 @@ public:
void init(unsigned device_index, hc::accelerator acc);
hipError_t getProperties(hipDeviceProp_t* prop);
// TODO- create a copy constructor.
~ihipDevice_t();
};
@@ -213,8 +210,6 @@ void ihipDevice_t::init(unsigned device_index, hc::accelerator acc)
this->reset();
};
#if 1
// TODO-remove #ifdef
ihipDevice_t::~ihipDevice_t()
{
if (_null_stream) {
@@ -229,7 +224,6 @@ ihipDevice_t::~ihipDevice_t()
}
hsa_signal_destroy(_copy_signal);
}
#endif
//----