parent
1b8077f66a
commit
2c80b18f1d
|
@ -336,6 +336,9 @@ public class SpecialWorkspaceTests extends BaseNd4jTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMmapedWorkspaceLimits_1() throws Exception {
|
public void testMmapedWorkspaceLimits_1() throws Exception {
|
||||||
|
if (!Nd4j.getEnvironment().isCPU())
|
||||||
|
return;
|
||||||
|
|
||||||
val tmpFile = Files.createTempFile("some", "file");
|
val tmpFile = Files.createTempFile("some", "file");
|
||||||
val mmap = WorkspaceConfiguration.builder()
|
val mmap = WorkspaceConfiguration.builder()
|
||||||
.initialSize(200 * 1024L * 1024L) // 200mbs
|
.initialSize(200 * 1024L * 1024L) // 200mbs
|
||||||
|
|
Loading…
Reference in New Issue