<commit_before>#ifndef OPENCV_CORE_CUDA_MAT3_HPP
#define OPENCV_CORE_CUDA_MAT3_HPP

#ifndef __cplusplus
#  error cuda.hpp header must be compiled as C++
#endif

#include "opencv2/core.hpp"
#include "cuda_types3.hpp"


namespace cv {
	namespace cuda {

		class CV_EXPORTS GpuMat3 {

		public:

			// GpuMat3(Mat &mat);
			
			GpuMat3();

			size_t elemSize() const;

			void release();

			void create(int x, int y, int z, int type);

			void upload(Mat &mat);

			void download(Mat &mat) const;

			template <class T><commit_msg>Changed GpuMat3 destructor<commit_after>#ifndef OPENCV_CORE_CUDA_MAT3_HPP
#define OPENCV_CORE_CUDA_MAT3_HPP

#ifndef __cplusplus
#  error cuda.hpp header must be compiled as C++
#endif

#include "opencv2/core.hpp"
#include "cuda_types3.hpp"


namespace cv {
	namespace cuda {

		class CV_EXPORTS GpuMat3 {

		public:

			// GpuMat3(Mat &mat);
			
			GpuMat3();
            ~GpuMat3() { release(); }

			size_t elemSize() const;

			void release();

			void create(int x, int y, int z, int type);

			void upload(Mat &mat);

			void download(Mat &mat) const;

			template <class T>
{'fraction_non_alphanumeric': 0.10640216411181244, 'fraction_numerical': 0.014427412082957619, 'mean_word_length': 3.6058091286307055, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1651780', 'n_tokens_mistral': 480, 'n_tokens_neox': 409, 'n_words': 111}