mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
Port framework changes from master
Now requiring the headers to be configured for OpenCL > 2.1.
This commit is contained in:
34
test_common/harness/crc32.h
Normal file
34
test_common/harness/crc32.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/******************************************************************
|
||||
Copyright (c) 2016 The Khronos Group Inc.
|
||||
All Rights Reserved. This code is protected by copyright laws and
|
||||
contains material proprietary to the Khronos Group, Inc.
|
||||
This is UNPUBLISHED PROPRIETARY SOURCE CODE that may not be disclosed
|
||||
in whole or in part to third parties, and may not be reproduced, republished,
|
||||
distributed, transmitted, displayed, broadcast or otherwise exploited in any
|
||||
manner without the express prior written permission of Khronos Group.
|
||||
|
||||
The receipt or possession of this code does not convey any rights to
|
||||
reproduce, disclose, or distribute its contents, or to
|
||||
manufacture, use, or sell anything that it may describe, in whole
|
||||
or in part other than under the terms of the Khronos Adopters
|
||||
Agreement or Khronos Conformance Test Source License Agreement as
|
||||
executed between Khronos and the recipient.
|
||||
******************************************************************/
|
||||
|
||||
#ifndef _CRC32_H_
|
||||
#define _CRC32_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
uint32_t crc32(const void *buf, size_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user