<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.

#pragma once

#ifndef VSNRAY_CUDA_ARRAY_H
#define VSNRAY_CUDA_ARRAY_H 1

#include <cassert>

#include <cuda_runtime_api.h>

#include <visionaray/detail/macros.h>

namespace visionaray
{
namespace cuda
{

//-------------------------------------------------------------------------------------------------
//
//

class array
{
public:

    // width and height are always *elements*


    array() = default;

    array(cudaChannelFormatDesc const& desc, size_t width, size_t height = 0, unsigned flags = 0)
    {
        allocate(desc, width, height, flags);
    }
<commit_msg>Remove unnecessary include directive<commit_after>// This file is distributed under the MIT license.
// See the LICENSE file for details.

#pragma once

#ifndef VSNRAY_CUDA_ARRAY_H
#define VSNRAY_CUDA_ARRAY_H 1

#include <cassert>

#include <cuda_runtime_api.h>

namespace visionaray
{
namespace cuda
{

//-------------------------------------------------------------------------------------------------
//
//

class array
{
public:

    // width and height are always *elements*


    array() = default;

    array(cudaChannelFormatDesc const& desc, size_t width, size_t height = 0, unsigned flags = 0)
    {
        allocate(desc, width, height, flags);
    }

{'fraction_non_alphanumeric': 0.22835820895522388, 'fraction_numerical': 0.004477611940298508, 'mean_word_length': 1.98, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3806766', 'n_tokens_mistral': 395, 'n_tokens_neox': 379, 'n_words': 117}