MCPcopy Create free account
hub / github.com/apache/arrow / setup

Method setup

c_glib/test/test-cuda.rb:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 include Helper::Omittable
21
22 def setup
23 omit("Arrow CUDA is required") unless defined?(::ArrowCUDA)
24 @manager = ArrowCUDA::DeviceManager.new
25 omit("At least one GPU is required") if @manager.n_devices.zero?
26 @context = @manager.get_context(0)
27 end
28
29 sub_test_case("Context") do
30 def test_allocated_size

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected