Skip to content

image_scaling.cu has a bug #18

@fancyerii

Description

@fancyerii

this line:

returnValue = (cudaError_t)(returnValue | cudaMemcpy( cu_array, data, height * width * sizeof(unsigned char), cudaMemcpyHostToDevice));

should be:

returnValue = cudaMemcpyToArray(cu_array, 0, 0, data, height * width * sizeof(unsigned char), cudaMemcpyHostToDevice);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions