add zlib/minizip so we can load compressed data (github/git is bad in handling large binary files)
This commit is contained in:
@@ -22,8 +22,10 @@ b3LauncherCL::~b3LauncherCL()
|
||||
{
|
||||
for (int i=0;i<m_arrays.size();i++)
|
||||
{
|
||||
clReleaseMemObject(m_arrays[i]->getBufferCL());
|
||||
delete (m_arrays[i]);
|
||||
}
|
||||
|
||||
m_arrays.clear();
|
||||
if (gDebugLauncherCL)
|
||||
{
|
||||
static int counter = 0;
|
||||
|
||||
@@ -63,6 +63,16 @@ class b3LauncherCL
|
||||
|
||||
int serializeArguments(unsigned char* destBuffer, int destBufferCapacity);
|
||||
|
||||
int getNumArguments() const
|
||||
{
|
||||
return m_kernelArguments.size();
|
||||
}
|
||||
|
||||
b3KernelArgData getArgument(int index)
|
||||
{
|
||||
return m_kernelArguments[index];
|
||||
}
|
||||
|
||||
void serializeToFile(const char* fileName, int numWorkItems);
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user