MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getGold

Function getGold

test/wrap.cpp:257–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 ASSERT_SUCCESS(af_create_array(data, &h_data[0], 2, dims, f32));
256}
257static void getGold(af_array *gold, const dim_t *dims) {
258 float h_gold[16] = {10, 20, 30, 40, 20, 30, 40, 50,
259 30, 40, 50, 60, 40, 50, 60, 70};
260 ASSERT_SUCCESS(af_create_array(gold, &h_gold[0], 2, dims, f32));
261}
262
263class WrapCommon : virtual public ::testing::Test {
264 protected:

Callers 2

SetUpMethod · 0.85
SetUpMethod · 0.85

Calls 1

af_create_arrayFunction · 0.50

Tested by

no test coverage detected