Skip to content

Triton compile#3

Open
rantahar wants to merge 6 commits intohakarlss:linuxfrom
AaltoRSE:triton_compile
Open

Triton compile#3
rantahar wants to merge 6 commits intohakarlss:linuxfrom
AaltoRSE:triton_compile

Conversation

@rantahar
Copy link

Add two missing header files to compile on Linux

hakarlss and others added 6 commits December 3, 2013 16:27
Bug fix for host_side.cpp to avoid array exceed bounds exception.
Added 3D file format support for STL and OBJ.

modified:   src/host_side.cpp
	Using std::vector.reserve() only modifies the capability but not size of an vector,
	causing the code throws an array exceed bounds exception when accessing data
	using [] operator. Using resize() function would be safer.

modified:   src/voxelizer.cu
	sm_11_atomic_functions.h And sm_12_atomic_functions.h exists no more in cuda 7.0.

modified:   tests/CMakeLists.txt
modified:   tests/src/main.cpp
	Modified to compile with vtk 6.2.0. Add support for STL and OBJ.
Modified the code to compile under CUDA 7.0, VS 2013, vtk 6.2.0.
	int nrOfDevicesInUse is not explicitly initialize in the constructor causing an
	access violent in setMaterial function when performing the following line:
		for ( int d = 0; d < this->nrOfDevicesInUse; ++d )

			this->devices[d].materials_gpu.reset();
	This only happens in a release version of the program.

modified:   src/host_side.cpp
	A typo in comment.
A bug fix for release version of the program.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants